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.
Environment: ============ Product Version = Sun ONE Studio 5, Standard Edition (Build 030414) IDE Versioning = IDE/1 spec=3.42.1 impl=030414 Operating System = SunOS version 5.8 running on sparc Java; VM; Vendor = 1.4.0_02; Java HotSpot(TM) Client VM 1.4.0_02-b02; Sun Microsystems Inc. Steps to reproduce: =================== 1. Call "Versioning|Mount Version Control|Generic VCS" from the main menu. 2. Wait for the "New Wizard - Generic VCS" dialog. 3. Select the ClearCase profile. 4. Press the "Next >" button. 5. Wait for the 'Advanced' window of the "New Wizard - Generic VCS" dialog. 6. Move focus to any of the 'Message' JTextFields (EDIT or LOCK). 7. Press Enter. Expected result: The next dialog window should be opened (Environment) Actual result: Nothing changes although the Next button is the default one. Note: ===== If focus is in any other element of the window the Next button can be activated via Enter.A comment.
The textfield should ignore Enter.
This has nothing to do with ClearCase, it's a general problem of the VCS Generic wizard/Customizer. The wizard does not show the Advanced pane any more. The problem is in the Customizer only. The only difference is, that promptEditTextField and promptLockTextField have attached an ActionListener. This change the behavior!!! (This is really a damned thing, that attaching a listener changes the behavior.) Scheduling for promotion D.
Fixed in trunk, the ActionListener is removed: /cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/VcsCustomizer.java,v <-- VcsCustomizer.java new revision: 1.122; previous revision: 1.121 /cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/VcsCustomizer.form,v <-- VcsCustomizer.form new revision: 1.31; previous revision: 1.30
Verified in development build #200407151800 of NetBeans 4.0.