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.
There are file choosers throughout NetBeans, and everyone needs to find a way to save the last used directory; if they don't, they have a usability problem. This seems like an obvious place the platform can help - there should be an API, e.g. Utilities.getFileChooser (String token) which will return a JFileChooser, and if closed with OK_OPTION, automatically store the current directory, and if a file chooser is requested with the same token in the future automatically preset the current dir of the filechooser to that.
Reassigned back to 'openide'. I do not think such an API should be made in the Utilities module, which does not contain any API and there are no plans to define any API in it. The Utilities module can implement its own caching mechanism but it will have no impact on the rest of the IDE.
*** This issue has been marked as a duplicate of 47737 ***