Пример #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;
 }
Пример #2
0
 /**
  * Constructor for the ChildMenuItem object
  *
  * @param frame Description of the Parameter
  */
 public ChildMenuItem(JInternalFrame frame) {
   super(frame.getTitle());
   this.frame = frame;
 }
 /**
  * Simple constructor.
  *
  * @param f Associated internal frame.
  */
 public SubstanceInternalFrameTitlePane(JInternalFrame f) {
   super(f);
   this.setToolTipText(f.getTitle());
   SubstanceLookAndFeel.setDecorationType(this, DecorationAreaType.SECONDARY_TITLE_PANE);
 }