Example #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;
 }
Example #2
0
 /**
  * Constructor for the ChildMenuItem object
  *
  * @param frame Description of the Parameter
  */
 public ChildMenuItem(JInternalFrame frame) {
   super(frame.getTitle());
   this.frame = frame;
 }