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 44717

Summary: Enter key should work at any time in New File template selection panel if a template is selected
Product: projects Reporter: Jesse Glick <jglick>
Component: Generic Projects UIAssignee: Jiri Rechtacek <jrechtacek>
Status: CLOSED FIXED    
Severity: blocker Keywords: A11Y
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 41535    

Description Jesse Glick 2004-06-10 21:15:45 UTC
040610 but also much earlier. JDK 1.5.0 b54, GTK.

If you have selected a template in the first panel
of the New File wizard, the Enter key should
invoke Next. That is the default behavior of
wizards unless something else is capturing the
keystroke.

However currently you need to press Tab twice:

1. With the focus on the template, Enter does
nothing. Press Tab to send focus to the
description area (which I think needs to focusable
for A11Y reasons).

2. With the focus on the description area, Enter
does nothing. Press Tab to send focus to the Next
button, at which point Enter works.
Comment 1 Jiri Rechtacek 2004-06-11 20:09:56 UTC
fixed in src/org/netbeans/modules/project/ui/TemplatesPanelGUI.java;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/TemplatesPanelGUI.java,v
 <--  TemplatesPanelGUI.java
new revision: 1.17; previous revision: 1.16
done
Comment 2 Marian Mirilovic 2005-12-20 15:46:21 UTC
This issue was solved long time ago. Because nobody has reopened it neither
added comments, we are verifying/closing it now. 
If you are still able to reproduce the problem, please reopen. Thanks in advance.