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 40292 - templates need updating for best practice coding standards
Summary: templates need updating for best practice coding standards
Status: RESOLVED DUPLICATE of bug 32199
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-19 18:47 UTC by Patrick Keegan
Modified: 2004-08-13 12:10 UTC (History)
2 users (show)

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 Patrick Keegan 2004-02-19 18:47:57 UTC
According to a conversation with Kathy Walrath
(Java tutorial author), the JFrame template (and
presumably others) should be reviewed for
up-to-date coding standards. Kathy commented that
using system.Exit is not really preferred now and
that it would be a good idea to include things
like setDefaultLookAndFeelDecorated(true)
Comment 1 Tomas Pavek 2004-02-22 13:32:12 UTC
For JFrame, EXIT_ON_CLOSE should be set to window "close operation" 
property - see issue 32199. As for setting look&feel, there is issue 
38043.
Comment 2 Tomas Pavek 2004-02-25 18:58:16 UTC
Issue 32199 has been fixed. System.exit() is no longer used. All
templates provided by form module have been reviewed. As for
setDefaultLookAndFeelDecorated(true), I don't think it should set by
default. What is the reason to do so? Anything else should be done?
Comment 3 Tomas Pavek 2004-02-26 09:25:23 UTC
Does not work due to issue 40506.
Comment 4 Tomas Pavek 2004-02-26 09:25:44 UTC

*** This issue has been marked as a duplicate of 32199 ***