< prev index next >

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

Print this page

        

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