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 80007 - I18N - some possible hardcoded font sizes, names or window sizes
Summary: I18N - some possible hardcoded font sizes, names or window sizes
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WebServer 7 (show other bugs)
Version: 5.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: Mukesh Garg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-11 16:31 UTC by Ken Frank
Modified: 2006-09-26 18:29 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 Ken Frank 2006-07-11 16:31:01 UTC
this is from code scanning for certain api calls, and
realize that some of these might not be in active
code or otherwise valid, and that some will need to be assigned to different
subcats -- the code scanning just looks for certain api calls using hardcoded
values.

These items are either possible hard coded font sizes or use of
non jdk font names.

This is a complement to the actual resize testing done to see these kind
of issues in real product.

as well as possible hard coding of window or dialog
sizes using setPreferred or setMinimumSize.

*** this isn't meant to be a total list as there might be other same situations
not found by the scanning - please check the code.

----
serverplugins

a. hardocoded font name and size ?

none seen from code scanning but please check the code.



b. various setPreferredSize, setMinimumSize hardcoded ?


sun/webserver7/src/org/netbeans/modules/j2ee/sun/ws7/serverresources/wizards

(and please check the rest of the code)
Comment 1 Mukesh Garg 2006-08-30 13:32:19 UTC
There are no explicit setFont or size in the code.
There were few setMinimumSize, setMamimumumSize and setPreferredSize api calls
which were setting absolute values. I have removed all the absolute values from
these calls.

changed files are 
webserver7/src/org/netbeans/modules/j2ee/sun/ws7/serverresources/wizards/CommonGeneralFinishVisualPanel.java
webserver7/src/org/netbeans/modules/j2ee/sun/ws7/serverresources/wizards/CommonPropertyVisualPanel.form
webserver7/src/org/netbeans/modules/j2ee/sun/ws7/serverresources/wizards/CommonPropertyVisualPanel.java
webserver7/src/org/netbeans/modules/j2ee/sun/ws7/ui/WS70Customizer.java


Comment 2 Ken Frank 2006-09-26 18:29:21 UTC
verified