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 66024 - [50cat] Action name should be added to resource file
Summary: [50cat] Action name should be added to resource file
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Templates (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords:
: 66802 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-05 18:17 UTC by misterm
Modified: 2005-11-23 10:08 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 misterm 2005-10-05 18:17:01 UTC
[ BUILD # : 5.0 beta ]
[ JDK VERSION : 1.4.2_xx ]

When an action is generated by the wizard, its name is harcoded in the .java file instead of being added to a resource file.
Comment 1 misterm 2005-10-14 18:04:48 UTC
*** Issue 66802 has been marked as a duplicate of this issue. ***
Comment 2 _ tboudreau 2005-10-14 18:16:56 UTC
This issue impacts the following tutorial:

http://platform.netbeans.org/guide/tutorials/paintTutorial/index.html
Comment 3 Martin Krauskopf 2005-10-25 17:50:46 UTC
Ok. It was more or less intentional (to keep the generated things as simple as
posible for newcomers - skipping NbBundle). But probably it is reasonable to
keep NB standards.
Comment 4 Jesse Glick 2005-10-25 23:03:05 UTC
I *don't* think our wizards should follow NB code standards (i.e. no NOI18N
comments). But use of NbBundle is generally recommended for all modules in the
NB platform. So we should use it consistently in generated code. I think we
already did, except for this case.
Comment 5 Martin Krauskopf 2005-11-07 16:38:19 UTC
Fixed.

Checking in ui/wizard/action/DataModel.java; 1.14 -> 1.15;
Checking in ui/wizard/action/callableSystemAction.javx; 1.5 --> 1.6
Checking in ui/wizard/action/cookieAction.javx; 1.7 --> 1.8
Checking in test/unit/ui/wizard/action/DataModelTest.java; 1.9; previous
revision: 1.8
Comment 6 pzajac 2005-11-23 10:08:58 UTC
verified