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.
The [OK] button is always disabled when I try to select a format for the code that gets the string from the resource bundle. To reproduce: - Create a Matisse Swing form - Create a text field - For the tool tip property of the field, click on '...' - Drop down and choose Resource Bundle - Type in a bundle name and a key and value - Click on Format... next to Code - No matter what format you choose, the [OK] button is disable with *absolutely no explanation* At this point I am stuck, and have no workaround. See attached images for an example.
Created attachment 62784 [details] Screen shot of the dialog with the OK button disabled
Created attachment 62785 [details] Screen shot of first-level dialog with fields filled in
sorry David I cannot reproduce it all the time. Which build do you use ? Does the bundle exist in your project ? I can reproduce it only in case when bundle does not exist or is in different package from form class and you just write its path manually into bundle name textfield instead of choosing it using "Select..." button. Then the bundle file is not validated and that's why format string could not be edited now. Is that your case ? than simple workaround is to choose bundle using "Select..." button, fill key and value into dialog and then format could be editable. This is known bug .. see http://www.netbeans.org/issues/show_bug.cgi?id=135069
It's a build from the trunk, pulled yesterday. Yes, that's correct, the bundle is not in the same package as the UI class. This is a known issue with the db module that is going to take some work to fix, and not now. I browsed to the Resource file (what a drag, so many layers of folders and I can't just type it in), it works! So thanks for that tip. Since there's a workaround, I'm downgrading the issue. You probably want to mark this as a duplicate of 135069.
OK David, thanks for reply. I will mark this issue as duplicate of 135069 *** This issue has been marked as a duplicate of 135069 ***