Created attachment 131208 [details]
JFileChoosers created using FileChooserBuilder.createFileChooser() only remember the current directory when the dialog is created using showOpenDialog(...) or showSaveDialog(...), but not when it is created using showDialog(...). This is a problem as the last method is the only way to create a dialog with custom approve button text (and probably other custom configuration as well).
The reason is that file choosers created by FileChooserBuilder only override the showOpenDialog(...) and showSaveDialog(...) methods to remember the current directory. I can't see any obvious reason not to override showDialog(...) - which is in fact called by the other two methods - instead/as well (see the attached patch).
OK, good patch. I don't see you in the list of approved contributors.
can you please sign OCA and reopen this bug.
OCA signed, sent & accepted.
(In reply to crimes from comment #2)
> OCA signed, sent & accepted.
Integrated as http://hg.netbeans.org/core-main/rev/7d340b0be11a
Thank you very much for providing the patch.