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

Summary: I18N - Hard-Code strings in form editor.
Product: guibuilder Reporter: hiroshiy <hiroshiy>
Component: CodeAssignee: issues@guibuilder <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: jf4jbug
Priority: P3 Keywords: I18N
Version: 3.x   
Hardware: Sun   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: [EnumEditor] and [IntEditor] seem like hard-code strings.

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
[defaultCloseOperation].
  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?

Hiroshi.
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.

Hiroshi
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 ***