public ButtonBar addButtonBar(JInternalFrame iaf) { ButtonBar bb = new ButtonBar(this, iaf, iaf.getTitle()); bar.add(bb); bBar.add(bb); activeButton(bb); return bb; }
/** * Constructor for the ChildMenuItem object * * @param frame Description of the Parameter */ public ChildMenuItem(JInternalFrame frame) { super(frame.getTitle()); this.frame = frame; }