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 29937 - Esc and OK buttons do not work properly
Summary: Esc and OK buttons do not work properly
Status: CLOSED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Property Editors (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2003-01-10 08:34 UTC by ccv
Modified: 2008-12-23 10:44 UTC (History)
6 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 ccv 2003-01-10 08:34:47 UTC
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)
Comment 1 Ondrej Rypacek 2003-02-04 13:24:32 UTC
Jarpackager just uses the default property editor provided for
File.class - no custom implementation. 
Comment 2 _ tboudreau 2003-09-09 01:10:18 UTC
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.
Comment 3 Marian Mirilovic 2004-02-16 21:21:35 UTC
Tim is right, verified.
Comment 4 ccv 2004-02-17 12:16:08 UTC
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).
Comment 5 _ tboudreau 2004-02-20 14:46:25 UTC
Probably will not be addressed in 3.6 due to resource constraints.
Comment 6 _ tboudreau 2004-04-19 14:52:46 UTC
Passing property editor issues to new owner, Jirka
Comment 7 Jan Chalupa 2005-01-30 21:04:29 UTC
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.
Comment 8 Marian Mirilovic 2005-07-14 08:14:57 UTC
Honza is right (feel free to file an issue against appropriate modules if
problem reappears) ... closing