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 33889

Summary: Exit IDE button does not exit IDE
Product: ide Reporter: _ tboudreau <tboudreau>
Component: Import SettingsAssignee: Jesse Glick <jglick>
Status: VERIFIED FIXED    
Severity: blocker CC: dbcurtis, dkonecny
Priority: P2    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 30031    

Description _ tboudreau 2003-05-26 11:35:49 UTC
In the current trunk, when you click the Exit IDE
button in the
upgrade wizard, the IDE starts anyway.
Comment 1 David Konecny 2003-05-26 15:58:07 UTC
*** Issue 33890 has been marked as a duplicate of this issue. ***
Comment 2 David Konecny 2003-05-26 16:12:57 UTC
The problem is that Import Settings Wizard uses wizard system and
after separation of window system there is available only
DialogDisplayer.Trivial. The short term solution is to fix this bug
there. The long term question is: how this should work? Is it OK that
core/ide requires advanced window system features like wizard system?  
Comment 3 Jesse Glick 2003-05-26 21:19:11 UTC
I think it's OK; most of the wizard impl is actually in openide, i.e.
it is a library not strictly an interface. The dialog logic ought not
be too complex. I'll take a look.
Comment 4 David Konecny 2003-05-27 08:33:19 UTC
OK, thanx. The problem seemed to be in incorrect value returned by
WD.getValue(). The value should be button which was pressed (ISW set
its own buttons).
Comment 5 Jesse Glick 2003-05-27 16:13:50 UTC
Was a logic error in default DialogDisplayer - was not setting
DialogDescriptor.value when there was a custom action listener on the
button.
Comment 6 Jesse Glick 2003-05-27 16:16:12 UTC
However there were some other problems with DD.Trivial - did not
change content pane in a wizard, e.g. Will try to fix.
Comment 7 David Konecny 2003-05-27 17:10:10 UTC
"However there were some other problems with DD.Trivial - did not
change content pane in a wizard" - yes, that was filed as issue 33890
which I closed as duplicate of this one.

One more issue is that buttons at the bottom are centered. I believe I
saw an issue for this some time ago (probably filed against wizard
component).
Comment 8 Jesse Glick 2003-05-27 17:20:59 UTC
I also aligned the buttons to the right.
Comment 9 Jesse Glick 2003-05-27 19:17:45 UTC
committed     Up-To-Date  1.6        
openide/src/org/openide/DialogDisplayer.java
Comment 10 Marian Mirilovic 2003-06-11 15:19:43 UTC
verified in [nb_dev](200306110100)