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 43600 - Invalid height of table header
Summary: Invalid height of table header
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: I18N (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Marian Petras
URL:
Keywords: JDK_SPECIFIC
: 59432 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-20 09:29 UTC by Jaromir Uhrik
Modified: 2006-03-24 10:30 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (27.98 KB, image/png)
2004-05-20 09:31 UTC, Jaromir Uhrik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2004-05-20 09:29:18 UTC
[200405191800; j2sdk1.4.2_03]
The height of the table in the 3rd panel of
Internationalization Wizard is incorrectly set and
the user is unable to read it. See attached
screenshot...
Comment 1 Jaromir Uhrik 2004-05-20 09:31:13 UTC
Created attachment 15023 [details]
Screenshot
Comment 2 Ondrej Rypacek 2004-06-01 14:53:58 UTC
I tried that several times and it looks fine. Any steps to reproduce?
Comment 3 Jaromir Uhrik 2004-06-15 09:25:10 UTC
No special steps to reproduce:
1.Create new Java class and write e.g System.out.println("something");
2.Create new Properties file
3.Main menu Tools->Internationalize->Internationalization Wizard
4.Press Next
5.Press Next again
This is enough to do to reproduce this issue(it is still reproducible
in 200406131800; j2sdk1.4.2_04; Win XP -> I am reopening this issue)
Comment 4 Tomas Pavek 2004-07-12 12:40:39 UTC
This is a weird issue of the JTable header - it is not sized properly
if the name of the first column is empty. Fixed.

/cvs/i18n/src/org/netbeans/modules/i18n/wizard/HardStringWizardPanel.java
new revision: 1.27; previous revision: 1.26
Comment 5 Jaromir Uhrik 2004-08-17 11:01:04 UTC
Verified in 200408170540; jdk1.5.0-rc-b63.
Comment 6 Marian Petras 2005-05-31 17:44:40 UTC
*** Issue 59432 has been marked as a duplicate of this issue. ***
Comment 7 Jiri Prox 2005-06-02 08:52:28 UTC
I reproduced it in NB 4.1 (200505031930), JDK 1.5.0_03, Windows XP in the 3rd
step of the Internationalization Test Wizard. In the Internationalization Wizard
it's ok.
See the #59432 for screenshot.
Comment 8 Marian Petras 2005-08-17 09:26:14 UTC
This bug is reproducible with WinXP using Classic L&F - thanks Tomas Stupka and
Jiri Prox for finding the reproducible testcase.

This bug is caused by JDK bug 4492484 ("Win L&F: JTable fails to draw header
containing empty string under Windows Look"). It should be fixed in Mustang (JDK
1.6.0).

We will implement a workaround for buggy versions of JDK.
Comment 9 Tomas Stupka 2005-08-19 16:35:14 UTC
Fixed in the trunk.

Modified files:

/i18n/src/org/netbeans/modules/i18n/wizard/TestStringWizardPanel.java    
Comment 10 Jaromir Uhrik 2005-09-22 09:20:40 UTC
Verified in daily build.