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 - Next button works only after second click
Summary: Next button works only after second click
Status: VERIFIED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Yulia Novozhilova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-11 11:35 UTC by Rashid Urusov
Modified: 2007-10-26 13:19 UTC (History)
0 users

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 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