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 194877 - Copying a JPanel File does not refactor the l10n texts properly
Summary: Copying a JPanel File does not refactor the l10n texts properly
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-30 17:04 UTC by sc1
Modified: 2011-05-25 15:08 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 sc1 2011-01-30 17:04:53 UTC
I often copy an existing Panel file as the new Panel looks quite similar. 

However, if you copy that file into another package ate least existing tooltip-text references into local bundle files cannot be resolved any more. 

Unfortunately the error occurs at runtime.

Reworking all that occurrences manually does help, but a complete refactor run would be helpfull.
Comment 1 Tomas Pavek 2011-05-25 15:08:30 UTC
You can try to use the automatic internationalization (can be turned on for new GUI forms, or for texts not internationalized yet). It could behave better with the refactoring.

Even if it does not, it can be temporarily turned off before the refactoring, which puts all strings back to the java file, then turned on after, which moves the strings to the actual bundle file again.