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.
To reproduce the bug: 1. Create JarRecipe, select it in the Explorer, call Properties window, Properties tab. 2. Push "Location" sheet button 3. Push "..." button, dialog "Location" appears #1. The button <Esc> does not work. #2. The button <OK> does not work, if focus is in the textfield. #3. There are no LABEL_FOR and mnemonics for the list of files. You can see the same issues in the dialog "Working Directory". 1. Select Execution tab on Properties window, 2. Push "Executor" sheet button 3. Push "..." button, dialog "Executor" appears 4. Select Expert tab, push "Working Directory" sheet button 5. Push "..." button, dialog "Working Directory" appears Product Version = NetBeans IDE Dev(Build030107) IDE Versioning = IDE/1 spec=3.23 impl=030107 Operating System = SunOS version 5.8 running on sparc Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21) Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode)
Jarpackager just uses the default property editor provided for File.class - no custom implementation.
When focus is in a dialog component which uses ENTER, CTRL-Enter is the correct keystroke to close the dialog. The dialog contains a JFileChooser, supplied by the JDK - we do not control whether or not it has mnemonics - an issue for this should be filed against the JDK.
Tim is right, verified.
I agree with what you say about the OK button, but don't agree about the ESCAPE. 1. For example, if I call a simple test - ESCAPE works fine. import javax.swing.*; public class test { public static void main(String[] args) { (new JFileChooser()).showOpenDialog(new JFrame()); System.out.println("OK!"); } } 2. Please, start NetBeans and push File/Open File menu. ESCAPE works perfectly in the "Open" dialog (file chooser).
Probably will not be addressed in 3.6 due to resource constraints.
Passing property editor issues to new owner, Jirka
Jar Packager is gone as of NB 4.0. So is Execution tab. Closing as WONTFIX. If anyone finds a dialog, wizard, or customizer that cannot be closed with Escape, feel free to reopen, or file a new bug.
Honza is right (feel free to file an issue against appropriate modules if problem reappears) ... closing