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 75142

Summary: I18N: size of "Browse" button is hardcoded
Product: contrib Reporter: Masaki Katakai <masaki>
Component: JMXAssignee: Jean-francois Denise <jfdenise>
Status: RESOLVED FIXED    
Severity: blocker CC: jf4jbug, mgrummich
Priority: P3 Keywords: I18N
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: entire strings can not be displayed

Description Masaki Katakai 2006-04-18 08:37:43 UTC
On SNMP configuration panel of wizard, it seems that the size of
"Browse" button is hardcoded, it will not work properly for non-English languages.

/jmx/configwizard/SNMPPanel.java

        aclFileJButton.setMaximumSize(new java.awt.Dimension(90, 20));
        aclFileJButton.setMinimumSize(new java.awt.Dimension(90, 20));
        aclFileJButton.setName("aclFileJButton");
        aclFileJButton.setPreferredSize(new java.awt.Dimension(90, 20));

I'll attach a screenshot for example.
Comment 1 Masaki Katakai 2006-04-18 08:38:31 UTC
Created attachment 29888 [details]
entire strings can not be displayed
Comment 2 Jean-francois Denise 2006-04-18 10:11:56 UTC
OK, switch to default values.