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 115234

Summary: Next button works only after second click
Product: installer Reporter: Rashid Urusov <rashid>
Component: CodeAssignee: Yulia Novozhilova <ynov>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Rashid Urusov 2007-09-11 11:35:11 UTC
In JDK choosing panel after opening Combobox list without changing value of  JDK for Netbeans 
Next button of panel works only after second click as well as for Combobox for JDK for Glassfish on next panel.
Comment 1 dlipin 2007-09-11 13:34:43 UTC
yes, it is.
Comment 2 dlipin 2007-09-26 21:07:06 UTC
lowering priority to P4 due to the Bug Priority Guidelines.
Comment 3 dlipin 2007-10-08 13:19:39 UTC
just to note : the issue is somewhere in the listeners that belongs to jdkLocationField and jdkLocationComboBox in 
class NbBasePanel. 
It seems that when clicking "Next" button, the jdkLocationField listener performs its action and force 
jdkLocationComboBox listener to work as well.

If I comment "jdkLocationField.getDocument().addDocumentListener" (in 
NbBasePanel.NbBaseDestinationPanelSwingUi#initComponents:~244), then this issue is no more reproducible.

This listener addition is required (so we can`t just disable it) since we need to track the changes in the JDK Location 
text field. So additional investigation is required..
Comment 4 dlipin 2007-10-24 18:12:56 UTC
Fixed by Yulia.
I`ve checked the latest nightly build and it works fine.
Comment 5 Rashid Urusov 2007-10-26 13:19:12 UTC
VERIFIED in build 200710241200