This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 44731 - [40cat] Add JAR chooser in project classpath customizer should remember selected directory
Summary: [40cat] Add JAR chooser in project classpath customizer should remember selec...
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Pavel Buzek
URL:
Keywords: UI
: 42887 47382 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-10 22:43 UTC by Jesse Glick
Modified: 2007-08-03 09:51 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2004-06-10 22:43:01 UTC
Currently seems to start in home dir each time.

We might consider an IDE-wide API to get and set
the last-used JFileChooser directory.
Comment 1 Jesse Glick 2004-06-10 22:43:20 UTC
040610, GTK.
Comment 2 zikmund 2004-08-16 15:44:52 UTC
It's quite annoying - raising priority to P3.
Comment 3 Jesse Glick 2004-08-16 22:07:08 UTC
Tomas you may want to assign this to yourself - I think Jirka is on
vacation?
Comment 4 Jiri Kovalsky 2004-08-18 14:45:30 UTC
*** Issue 47382 has been marked as a duplicate of this issue. ***
Comment 5 Jiri Kovalsky 2004-08-18 14:45:57 UTC
This issue was discovered by NetCAT 4.0 program - adding proper prefix.
Comment 6 Jesse Glick 2004-08-18 22:14:22 UTC
May be same issue for web apps; Pavel please check and file a bug for
yourself as needed.
Comment 7 zikmund 2004-08-19 10:01:06 UTC
Pavle, it's a problem in WebApps too.

Should QA file 2 bugs in these cases (and mention it in description)?
Or do you prefer reassigning them after fixing?
Comment 8 Jesse Glick 2004-08-19 18:49:01 UTC
Generally prefer separate bug reports with comments pointing to
related reports, rather than having to reassign issues (which becomes
a mess when you need to reopen one half of the bug report, etc.). As a
rule, each thing that can be independently fixed, should be
independently filed.
Comment 9 Tomas Zezula 2004-08-23 13:22:20 UTC
Fixed in the j2seproject, I don't know if the web has its own issue
for this or not. Reassigning to the web module, if there is one close
this. If not fix it and close it.

It should be nice to have global API which will be able to put/get
file based on the project and key(string).

Checking in
j2seproject/src/org/netbeans/modules/java/j2seproject/ui/FoldersListSettings.java;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/FoldersListSettings.java,v
 <--  FoldersListSettings.java
new revision: 1.7; previous revision: 1.6
done
Processing log script arguments...
More commits to come...
Checking in
j2seproject/src/org/netbeans/modules/java/j2seproject/ui/customizer/VisualClasspathSupport.java;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/customizer/VisualClasspathSupport.java,v
 <--  VisualClasspathSupport.java
new revision: 1.14; previous revision: 1.13
done
Comment 10 Jesse Glick 2004-08-23 20:58:36 UTC
I filed issue #47737 re. tracking last-used file selections globally.
Comment 11 zikmund 2004-08-24 11:25:19 UTC
*** Issue 42887 has been marked as a duplicate of this issue. ***
Comment 12 zikmund 2004-08-24 11:28:58 UTC
Similar issues in web:
   with Add Project chooser: issue #47779
   with Additional Content's Add choosers: issue #47330
Comment 13 Pavel Fiala 2004-09-13 14:49:41 UTC
Fixed using org.netbeans.modules.web.project.ui.FileChooser

Checking in
project/src/org/netbeans/modules/web/project/ui/customizer/VisualClasspathSupport.java;
/cvs/web/project/src/org/netbeans/modules/web/project/ui/customizer/VisualClasspathSupport.java,v
 <--  VisualClasspathSupport.java
new revision: 1.23; previous revision: 1.22
done
Comment 14 Dan Kolar 2007-08-03 09:51:22 UTC
v