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 136237 - Change to About dialog closeAboutBox() method
Summary: Change to About dialog closeAboutBox() method
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: App Framework (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-02 08:48 UTC by carentrica
Modified: 2008-06-02 12:55 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description carentrica 2008-06-02 08:48:18 UTC
Currently, to close the About box in the Desktop Application projects, the supplied source within the closeAboutBox() 
method merely hides the dialog. Each time the About menu item is clicked a new dialog is created.

Would "dispose();", therefore, be a more appropriate close operation for the About dialog rather than "setVisible
(false);"?
Comment 1 Jan Stola 2008-06-02 12:44:43 UTC
Yes, you are right. I will modify the template to contain dispose() instead of setVisible(false).
Comment 2 Jan Stola 2008-06-02 12:55:50 UTC
Fixed - I have modified the templates.

Modified files: http://hg.netbeans.org/main?cmd=changeset;node=a6f16c1e772e