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 41582 - Form Internationalization dialog has bad Value
Summary: Form Internationalization dialog has bad Value
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: I18N (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on: 164369
Blocks:
  Show dependency tree
 
Reported: 2004-04-01 12:15 UTC by ehucka
Modified: 2015-09-17 11:15 UTC (History)
1 user (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 ehucka 2004-04-01 12:15:38 UTC
Steps to reproduce:

1. create a form with a button
2. go to java source of the form
3. run Tools|Internationalization|Internationalize
to internationalize the button's text
4. go to the appropriate properties file and
change a value of the button text
5. save all
6. select the button in form (e.g. in explorer)
and invoke property editor of its Text property
7. there should be displayed Internationalization
dialog
8. the Value area of this dialog contains old text
9. if a user press OK button a value of
appropriate property will be changed to its old value
Comment 1 Marian Petras 2004-04-05 16:39:20 UTC
Confirmed (tested on PC+Linux), accepted.

It should be relatively easy to fix this bug.

There is a related problem that modification of a property in the
properties file does not cause an immediate refresh of a text in the
form editor - fix of this (rather minor) problem would be difficult
and risky (regarding performance).
Comment 2 Ondrej Rypacek 2005-02-02 16:55:27 UTC
I just tried it in the last version and the behaviour is realy
curious. It's true that the value isn't updated. But when I 
1) opened the form and the bundle
2) changed the value in the bundle
3) -- switched to form : no change 
4) closed the form, reopened the form -- very strange value appears.
e.g. just the first letter, or the first length -1 letters, etc. 

Will investigate it more, but I'm not quite sure, it's a simple fix.
It's more likely the code is a total mess ;)
Comment 3 Ondrej Rypacek 2005-02-04 13:56:32 UTC
The behaviour described in my previous comment is a different
unrelated bug I filed separately as #54538. 
Comment 4 Alexey Butenko 2009-03-25 15:03:27 UTC
changeset 29935b9ee0fb
Comment 5 Alexey Butenko 2009-05-22 15:24:38 UTC
Reopened because caused regression 164369
changeset e024f852ebb8
Comment 6 Victor Vasilyev 2010-03-29 10:58:56 UTC
Unfortunately, not for NB6.9
Comment 7 Martin Balin 2015-09-17 11:15:46 UTC
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.