Bug 78205 - Automatic Internationalization does not handle some components
Automatic Internationalization does not handle some components
Status: NEW
Product: guibuilder
Classification: Unclassified
Component: Code
5.x
All All
: P3 (vote)
: 6.x
Assigned To: issues@guibuilder
issues@guibuilder
sp_review_61
: I18N
Depends on:
Blocks:
  Show dependency treegraph
 
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
:


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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo