cornercorner
FeaturesPluginsDocs & SupportCommunityPartners

Bug 78205 - Automatic Internationalization does not handle some components
: Automatic Internationalization does not handle some components
Status: NEW
: guibuilder
Code
: 5.0
: All All
: P3 (vote)
: 6.9
Assigned To:
:
:
: sp_review_61
: I18N
:
:
  Show dependency treegraph
 
Reported: 2006-06-17 16:41 by
Modified: 2008-04-29 14:07 (History)
Issue Type: ENHANCEMENT
:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2006-06-17 16:41:03
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 From 2006-07-31 11:53:44 -------
version changed from dev to 5.0
------- Comment #2 From 2006-08-11 15:26:46 -------
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 From 2007-07-17 09:32:41 -------
This is rather a missing feature than defect.