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 110928

Summary: Security Manager doesn't resize correctly
Product: javame Reporter: Lukas Hasik <lhasik>
Component: Build SystemAssignee: Adam Sotona <asotona>
Status: RESOLVED INVALID    
Severity: blocker CC: kfrank
Priority: P3 Keywords: I18N
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Lukas Hasik 2007-07-25 13:30:19 UTC
http://jupiter.czech.sun.com/wiki/pub/MobilityQE/SamsonA11YTesting/security-manager.png

the security manager should resize correctly
Comment 1 Lukas Hasik 2007-07-25 14:10:14 UTC
the same for Create New Pair dialog. User doesn't even notice that a text field is missing on the pane. All because
resizing.
Comment 2 Adam Sotona 2007-07-25 14:10:51 UTC
Again the same problem, it is not possible to fit three-times bigger text with bigger font size into the original.
Please use regular l18n for the size testing only.
Comment 3 Ken Frank 2007-07-25 16:00:32 UTC
one reason the longer text and bigger fontsize is used is to replicate that
for some languages, the string length might be up to 30% bigger - i know that for
short labels the addition is much longer than that; for some msgs it will be shorter.

the bigger fontsize is that we provide that option, regardless of user using localized or not,
and the 14 or 16 pt font used seems reasonable since ide default is 11 pt.

but wouldnt the fix be doable just by using the layout mgr and specific api 
like discussed at http://java.sun.com/docs/books/tutorial/uiswing/layout/problems.html

I think other parts of nb uses these or related approaches to handle dynamic resizing.

ken.frank@sun.com