/** * insures that the associated toolbar and menu buttons of the internal frame are activated as * well * * @param f the internal frame being activated */ public void activateFrame(JInternalFrame f) { super.activateFrame(f); ((BaseInternalFrame) f).selectFrameAndAssociatedButtons(); }