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 28768 - I18N - Hard-Code strings in form editor.
Summary: I18N - Hard-Code strings in form editor.
Status: RESOLVED DUPLICATE of bug 12545
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: issues@guibuilder
Keywords: I18N
Depends on:
Reported: 2002-11-15 08:45 UTC by hiroshiy
Modified: 2003-02-14 15:15 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

[EnumEditor] and [IntEditor] seem like hard-code strings. (8.85 KB, image/gif)
2002-11-15 08:47 UTC, hiroshiy

Note You need to log in before you can comment on or make changes to this bug.
Description hiroshiy 2002-11-15 08:45:00 UTC
Please see attached screen shot.
I feel that, this seems like hard-code strings.

To reproduce:
  1. Create a JFrame from New Wizard.
  2. In property window of created JFrame, 
     select JFrame node in the tree view
     and click [...] Button of
  3. [defaultCloseOperation] window is appeared.
     And, [EnumEditor] and [IntEditor] are
appeared in drop-down list.
     These are seem like hard-code strings.     

Could someone investigate this issue?

Comment 1 hiroshiy 2002-11-15 08:47:33 UTC
Created attachment 7953 [details]
[EnumEditor] and [IntEditor] seem like hard-code strings.
Comment 2 Tomas Pavek 2002-11-15 10:02:34 UTC
EnumEditor and IntEditor are not hardcoded, but names of classes of
property editors. EnumEditor could be internationalized, but IntEditor
is provided externally (not from NetBeans), and we don't have a way
for internationalizing external property editors yet - see issue 12545.
Comment 3 hiroshiy 2002-11-18 06:38:37 UTC
Hello Tomas,

I agree with your comments.
Thank you for your investigation.

Comment 4 Tomas Pavek 2002-11-18 09:22:20 UTC
Still not invalid - I would like to i18n the EnumEditor 
(should be easy). Then I'll mark this bug as duplicate of 
issue 12545.
Comment 5 Jesse Glick 2002-12-23 16:36:08 UTC
Consistent use of the I18N keyword.
Comment 6 Tomas Pavek 2003-02-14 15:15:48 UTC
EnumEditor internationalized.

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