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 40368 - [JDK1.5.0] License text is too big on JDK1.5
Summary: [JDK1.5.0] License text is too big on JDK1.5
Status: VERIFIED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: issues@installer
URL:
Keywords: JDK_SPECIFIC
: 43987 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-23 12:58 UTC by dmladek
Modified: 2004-10-07 08:28 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Big license text on jdk1.5 (55.13 KB, image/png)
2004-02-23 12:59 UTC, dmladek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dmladek 2004-02-23 12:58:54 UTC
./NetBeansIDE-dev-200402221900-ismp5-linux.bin
===============================================

If installer running on jdk1.5 then the license
text is too big. See the Screenshot
Comment 1 dmladek 2004-02-23 12:59:58 UTC
Created attachment 13569 [details]
Big license text on jdk1.5
Comment 2 George Hernandez 2004-02-29 02:52:05 UTC
I've tried a couple of things to try and resize the pane contents but
they didn't work:

editorKit = editorPane.getEditorKit();
css = editorKit.getStyleSheet();
css.setBaseFontSize(3); // 3 equates to font point size 12
css.addRule("body {font-size : 12pt; }");

Will write java bug if one doesn't exits.
Comment 3 George Hernandez 2004-03-03 18:54:20 UTC
I've contacted the java folks about this issue. They're looking into
it but most likely they will not have a fix for 1.5 but they may have
a workaround for me. I'm going to sit on this till the end of the
week. If nothing is forthcoming by then, I'll waive this.
Comment 4 George Hernandez 2004-03-07 02:51:57 UTC
I got word today that the JEditorPane was fixed in jdk 1.5 to show the
correct point size. This problem should be resolved in 1.5 fcs unless
another beta shows up.
Comment 5 Jan Chalupa 2004-03-09 07:23:18 UTC
Waiver approved.
Comment 6 dmladek 2004-03-10 15:42:41 UTC
Thanks George for informing us about fix in jdk1.5
Comment 7 Patrick Keegan 2004-04-01 18:20:37 UTC
George, is this something that should be release noted? It was my
impression that the installer doesn't run on 1.5 beta anyway. Just
making sure....
Comment 8 George Hernandez 2004-04-01 18:38:43 UTC
The installers DO run with jdk 1.5. There were some bugs that have
since been fixed. So it wouldn't hurt to mention that the fonts size
can be larger with jdk 1.5 on some panels. The problem was fixed and
I'm assuming it will get into the 1.5 fcs build. It would be nice to
see another beta or RC that has the fix so we know for sure before fcs.
Comment 9 Patrick Keegan 2004-04-01 18:48:00 UTC
Actually, having just looked at the screenshot for the first time :-),
this problem doesn't seem fatal (the license can be read), just a
little strange and annoying. I don't think I will note it.
Comment 10 Vladimir Hudec 2004-06-09 12:18:13 UTC
This is due to peculiar html text rendering in GTK+,
Touched swing components are JEditorPane and JTextPane.
Working on workaround.
Comment 11 Vladimir Hudec 2004-06-09 15:59:14 UTC
JDK bug has been submitted (5060568).
There's a workaround - to suppress the ISMP usage of system
look and feel theme. Nevertheless it doesn't work on all OS
(like SuSE 9.1). Moreover I prefere to use GTK+ on Linux
to have a chance to discover all potential inconsistencies
related to this theme.
Comment 12 Vladimir Hudec 2004-06-10 07:23:51 UTC
*** Issue 43987 has been marked as a duplicate of this issue. ***
Comment 13 _ ttran 2004-07-21 15:26:05 UTC
this is fixed in the new installer which uses Metal for all
non-Windows platform.  No GTK ever
Comment 14 dmladek 2004-07-27 15:41:49 UTC
Yap, in the latest NB(4.0)dev #200407270649-linux-27_Jul_2004_0649
it is OK