Exception « JFileChooser « Java Swing Q&A





1. JFileChooser: Exception while removing reference: java.lang.InterruptedException    coderanch.com

package components.jfc; import java.awt.FlowLayout; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import javax.swing.JButton; import javax.swing.JComponent; import javax.swing.JDialog; import javax.swing.JFileChooser; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JTextField; import javax.swing.WindowConstants; public class JFileChooserIssue extends JDialog implements PropertyChangeListener { private static final long serialVersionUID = 1L; private JOptionPane optionPane; private static JFileChooserIssue mydialog; private ...

2. JFileChooser / Windows Vista Exception.    forums.oracle.com

My application run on Windows XP without any problem, but on Vista I get the following exception when I try to use JFileChooser in the code. Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3184 at sun.awt.shell.Win32ShellFolder2.getFileChooserIcon(Unknown Source) at sun.awt.shell.Win32ShellFolderManager2.get(Unknown Source) at sun.awt.shell.ShellFolder.get(Unknown Source) at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$LazyWindowsIcon.cr eateValue(Unknown Source) at javax.swing.UIDefaults.getFromHashtable(Unknown Source) at javax.swing.UIDefaults.get(Unknown Source) at javax.swing.MultiUIDefaults.get(Unknown Source) at javax.swing.UIDefaults.getIcon(Unknown Source) at javax.swing.UIManager.getIcon(Unknown Source) at ...