maxButton.setText(null);
  protected void createButtons()  {    closeButton = new PaneButton(closeAction);    if (!frame.isClosable())      closeButton.setVisible(false);    iconButton = new PaneButton(iconifyAction);    if (!frame.isIconifiable())      iconButton.setVisible(false);    maxButton = new PaneButton(maximizeAction);    if (!frame.isMaximizable())      maxButton.setVisible(false);  }