// create the footer strip - will contain ok and cancel buttons
EnhancedToolStrip footerStrip = new EnhancedToolStrip();
footerStrip.setWidth100();
footerStrip.setPadding(5);
footerStrip.setMembersMargin(10);
layout.addMember(footerStrip);
// footer OK button
final IButton okButton = new EnhancedIButton(MSG.common_button_ok(), ButtonColor.BLUE);
if (!propertyIsReadOnly) {
// if its read-only, allow the ok button to be enabled to just let the user close the window