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 173730 - Java Platform Manager: fix window size
Summary: Java Platform Manager: fix window size
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Platform (show other bugs)
Version: 6.x
Hardware: Macintosh All
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
: 173731 (view as bug list)
Depends on:
Blocks: 162137
  Show dependency tree
 
Reported: 2009-10-05 10:33 UTC by alex_pst
Modified: 2009-10-07 12:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alex_pst 2009-10-05 10:33:24 UTC
Window size of Java Platform Manager depends on length of items for Java SE platform. If some item, for example to some is very long window will be 
resized. Should be used scrollbars instead.

How to reproduce:
 * Open Java Platform Manager: Tools > Java Platforms
 * Select JDK 1.6
 * Select tab "Sources"
 * Click "Add Jar/Folder" and add folder with very long name: 
VerrrrrrrrrrrrrrrrrrrrrrrrrrryyyyyyyyyyyyyyyyyyyyLoooooooooooooooooooooooooooooooooooooooooooooooooonnnnnnnnnnnnggggggggggggggggggggggg
gggNaaaaaaaaaaaaaaaaaaaaaameeeeeeeeeeeeeeeeeeeeeeOfDirectory
 * Swtich to other platform, for example select CLDC
 * Select JDK 1.6 again
Window is resized to show full folder name selected before.
Comment 1 alex_pst 2009-10-05 10:37:32 UTC
*** Issue 173731 has been marked as a duplicate of this issue. ***
Comment 2 Tomas Zezula 2009-10-05 14:12:50 UTC
The window cannot have a fixed size as it violates the I18N rules (translation to non Latin charsets with bigger fontsize).
What I can do is limit the number of characters in the text field which may help.
Comment 3 Tomas Zezula 2009-10-05 16:17:58 UTC
Fixed in jet-main bb44c5e8811b
Comment 4 Quality Engineering 2009-10-07 12:47:50 UTC
Integrated into 'main-golden', will be available in build *200910070250* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/bb44c5e8811b
User: Tomas Zezula <tzezula@netbeans.org>
Log: #173730:Java Platform Manager: fix window size