Hallo Pavel, Hallo everyone

I've added 15px after the label "Posizione:" ( = Location) exactly
like in the original GTK FileChooser.
The change is committed in the trunk and will be included in the next release.

Regarding the exception that you reported:

java.lang.IllegalArgumentException: /home/fritz/Documents doesn't exist.
       at 
eu.kostia.gtkjfilechooser.ui.FileBrowserPane.listDirectory(FileBrowserPane.java:164)
       at 
eu.kostia.gtkjfilechooser.ui.FileBrowserPane.setCurrentDir(FileBrowserPane.java:203)
       at 
eu.kostia.gtkjfilechooser.ui.GtkFileChooserUI.doDirectoryChanged(GtkFileChooserUI.java:1171)

it's thrown from this code in FileBrowserPane:
162: private void listDirectory(File dir,
javax.swing.filechooser.FileFilter swingFilter) {
163:            if (!dir.exists()) {
164:                    throw new IllegalArgumentException(dir + " doesn't 
exist.");
165:            }

You say that the folder "/home/fritz/Documents" exists, therefore I
cannot understand why this exception occurs.
What do you think about?

You can also anonymously check out the latest project source code:
  svn checkout http://gtkjfilechooser.googlecode.com/svn/trunk/
gtkjfilechooser-read-only

If you want, or if somebody else ask for it, i can give the right to
commit directly in the svn repository.

Cheers,
Costantino

Reply via email to