< prev index next >

src/java.desktop/share/classes/javax/swing/JApplet.java

Print this page

        

*** 241,260 **** --- 241,262 ---- * * @beaninfo * hidden: true * description: The menubar for accessing pulldown menus from this applet. */ + @SuppressWarnings("deprecation") public void setJMenuBar(JMenuBar menuBar) { getRootPane().setMenuBar(menuBar); } /** * Returns the menubar set on this applet. * * @return the menubar set on this applet * @see #setJMenuBar */ + @SuppressWarnings("deprecation") public JMenuBar getJMenuBar() { return getRootPane().getMenuBar(); }
< prev index next >