< prev index next >

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

Print this page

        

*** 755,764 **** --- 755,765 ---- * </ul> * @exception HeadlessException if GraphicsEnvironment.isHeadless() * returns true. * @see java.awt.GraphicsEnvironment#isHeadless */ + @SuppressWarnings("deprecation") public int showDialog(Component parent, String approveButtonText) throws HeadlessException { if (dialog != null) { // Prevent to show second instance of dialog if the previous one still exists return JFileChooser.ERROR_OPTION;
< prev index next >