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 49898 - bundle location field in form support is not writeable
Summary: bundle location field in form support is not writeable
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: I18N (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Marian Petras
URL:
Keywords: REGRESSION
: 54582 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-04 16:48 UTC by Ondrej Rypacek
Modified: 2005-02-08 13:50 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 Ondrej Rypacek 2004-10-04 16:48:23 UTC
In a form bundle string editor one cannot copy&
paste or write the location in the resource bundle
customizer dialog, but always has to choose using
Browse

Steps2reproduce:
1. create new jpanel, insert a label to it
2. click ... next to "text" property to define the
label's text, select mode "Resource Bundle"
3. write some value to the Bundle Name: text
field, press enter

! the text changes back to its original value
Comment 1 Ondrej Rypacek 2004-10-04 16:48:50 UTC
indeed
Comment 2 Ondrej Rypacek 2005-02-07 08:38:13 UTC
*** Issue 54582 has been marked as a duplicate of this issue. ***
Comment 3 Marian Petras 2005-02-08 13:50:09 UTC
This was caused by using a depracated method
Repository.getDefault().filesystems() instead of using the new
ClassPath API. Since filesystems returned by the method have different
roots than when run in NetBeans 3.6, the routine using the above
method stopped working.

It is now fixed (in the trunk).

Modified file:

    i18n/src/org/netbeans/modules/i18n/ResourcePanel.java   (1.23)

Diff:
http://i18n.netbeans.org/source/browse/i18n/src/org/netbeans/modules/i18n/ResourcePanel.java.diff?r1=1.22&r2=1.23&f=u