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.
when using new gui tool (invoking with the special switch), and with pseudo localized module jars, some of the seeded values shown in some components as default are not form bundle for example, jtree shows as its dragged or in design, the words colors, sports, food or jtable has Title1, Title2, etc, or a frame has default menus File, Edit, Help and there are others. Do these labels come from an image or from other external jars ? if from image, suggest the label be separated from image to help l10n. I am not talking about items that just show a default name for the item, like jButton1, since this can be changed by user but the ones with other kinds of labels like JTree. if from external jar, suggest we might have our own bundles so that these can be localized; since these are different than the properties names which cannot be localized (font, foreground,border, etc etc) since are api reserved words.
The mentioned values come from different places. * the words shown in a JTree are hardcoded in the default constructor of the JTree itself e.g. are hardcoded in the JDK itself. That's not very nice, but we should show these values because they are part of the default state of this component. * the values "Title" and "Item" in JComboBox, JList and JTable weren't internacionalized and that has been fixed. These strings are taken from NetBeans resource bundles by now. * "File", "Edit", "Help" values come from templates. So, there is no problem because the templates itself must be localized as a whole.
Jan, for the msgs that come from templates - can you tell me the name of product jar file and name of the template files ? I want to see if they are something that is normally localized and if so, did I do it in the testing ? But I'm wondering it these are things that show in UI, if they should be from bundle files instead ? I thought template files were for somethings like some comments in a .java file that is created as part of a new project, for example, or there are the template descriptor html files that show in the first panel of new file or new project wizard. ken.frank@sun.com 08-19-05
Verified