P
Proton Projects - Moin
Hi all,
I have Browse button and on clicking it, it will open a JFileChooser.
Filtering property is set to Directories only. Approve button named to
"import".
I have created the desktop shortcut to one my folder. I launched the
JFileChooser and home button takes me to the desktop. On clicking the
shortcut folder, JFileChooser automatically changes my approve button
name from "import" to "open" and clicking on approve button (i.e. now
it is "open") and JFileChooser get into the actual path of the
shortcut folder and now my approve button changes to "import". This
works perfect.
Problem Scenario:
Once again I launched the JFileChooser and instead of clicking the
home button, i used the drop down list to select the shortcut folder
directly. JFileChooser did not change my approve button name from
"import" to "open" and clicking on approve button (i.e. "import"),
nothing is happening and it shows me an empty directory.
Is it bug with JFileChooser or do I need to do any extra setting to
get rid of these short cut issues.
Please assist me
Thanks
Moin
I have Browse button and on clicking it, it will open a JFileChooser.
Filtering property is set to Directories only. Approve button named to
"import".
I have created the desktop shortcut to one my folder. I launched the
JFileChooser and home button takes me to the desktop. On clicking the
shortcut folder, JFileChooser automatically changes my approve button
name from "import" to "open" and clicking on approve button (i.e. now
it is "open") and JFileChooser get into the actual path of the
shortcut folder and now my approve button changes to "import". This
works perfect.
Problem Scenario:
Once again I launched the JFileChooser and instead of clicking the
home button, i used the drop down list to select the shortcut folder
directly. JFileChooser did not change my approve button name from
"import" to "open" and clicking on approve button (i.e. "import"),
nothing is happening and it shows me an empty directory.
Is it bug with JFileChooser or do I need to do any extra setting to
get rid of these short cut issues.
Please assist me
Thanks
Moin