示例#1
0
 public ButtonBar addButtonBar(JInternalFrame iaf) {
   ButtonBar bb = new ButtonBar(this, iaf, iaf.getTitle());
   bar.add(bb);
   bBar.add(bb);
   activeButton(bb);
   return bb;
 }
 /**
  * Simple constructor.
  *
  * @param f Associated internal frame.
  */
 public SubstanceInternalFrameTitlePane(JInternalFrame f) {
   super(f);
   this.setToolTipText(f.getTitle());
   SubstanceLookAndFeel.setDecorationType(this, DecorationAreaType.SECONDARY_TITLE_PANE);
 }