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 78205 - Automatic Internationalization does not handle some components
Summary: Automatic Internationalization does not handle some components
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2006-06-17 16:41 UTC by Masaki Katakai
Modified: 2008-04-29 14:07 UTC (History)
2 users (show)

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 Masaki Katakai 2006-06-17 16:41:03 UTC
NB: 5.0 + "Matisse Update Pack for NetBeans 5.0"
OS: all

Matisse Update Pack: Automatic Internationalization does not handle
some components

It seems that "Automatic Internationalization" feature does not pick
up from
	- mnemonic
	- list model
	- table model
	- combobox model

I tried, but these are still hardcoded.

        jButton1.setMnemonic('j');

        jList1.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Item 1", "Item 2", "Item 3", "Item 4", "Item 5" };

        jComboBox1.setModel(new javax.swing.DefaultComboBoxModel(new String[] {
"Item 1", "Item 2", "Item 3", "Item 4" }));

        jTable1.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
Comment 1 Jana Maleckova 2006-07-31 11:53:44 UTC
version changed from dev to 5.0
Comment 2 Tomas Pavek 2006-08-11 15:26:46 UTC
Mnemonics are yet to be completed... Best would be to have them defined as part
of the text, but that's a NB specific feature.

The string arrays would be nice, but not easy to implement ... and their
internationalization has not been supported so far. So I'm rather sceptical
about this.
Comment 3 Tomas Pavek 2007-07-17 09:32:41 UTC
This is rather a missing feature than defect.