mgarin / weblaf

WebLaF is a fully open-source Look & Feel and component library written in pure Java for cross-platform desktop Swing applications.
http://weblookandfeel.com
GNU General Public License v3.0
1.14k stars 235 forks source link

File chooser current directory issues #10

Open mgarin opened 11 years ago

mgarin commented 11 years ago

There are a few known issues with "setCurrentDirectory" method:

  1. Calling method "setCurrentDirectory" points chooser to root folder in all cases on Linux systems. That seems to be some problem in nodes search mechanism.
  2. Directory doesn't change after "cancel" action to the same one that was set in file chooser before (or was selected by user before) since its not properly updated in JFileChooser model.
mgarin commented 11 years ago

Some additional tips about this issue: #11

mgarin commented 11 years ago

Second bug is still there. I will have to change the way file chooser UI informs JFileChooser about changes.