private void createButtons(){
  iconButton=new NoFocusButton("InternalFrameTitlePane.iconifyButtonAccessibleName");
  iconButton.addActionListener(iconifyAction);
  if (iconButtonToolTip != null && iconButtonToolTip.length() != 0) {
    iconButton.setToolTipText(iconButtonToolTip);
  }
  maxButton=new NoFocusButton("InternalFrameTitlePane.maximizeButtonAccessibleName");
  maxButton.addActionListener(maximizeAction);
  closeButton=new NoFocusButton("InternalFrameTitlePane.closeButtonAccessibleName");
  closeButton.addActionListener(closeAction);
  if (closeButtonToolTip != null && closeButtonToolTip.length() != 0) {
    closeButton.setToolTipText(closeButtonToolTip);
  }
  setButtonTooltips();
}

private void createButtons ( ) { iconButton = new NoFocusButton ( "InternalFrameTitlePane.iconifyButtonAccessibleName" ) ; iconButton . addActionListener ( iconifyAction ) ; if ( iconButtonToolTip != null && iconButtonToolTip . length ( ) != 0 ) { iconButton . setToolTipText ( iconButtonToolTip ) ; } maxButton = new NoFocusButton ( "InternalFrameTitlePane.maximizeButtonAccessibleName" ) ; maxButton . addActionListener ( maximizeAction ) ; closeButton = new NoFocusButton ( "InternalFrameTitlePane.closeButtonAccessibleName" ) ; closeButton . addActionListener ( closeAction ) ; if ( closeButtonToolTip != null && closeButtonToolTip . length ( ) != 0 ) { closeButton . setToolTipText ( closeButtonToolTip ) ; } setButtonTooltips ( ) ; }
create the buttons and add action listeners .
