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 121021 - [60cat] Empty text area
Summary: [60cat] Empty text area
Status: RESOLVED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC All
: P2 blocker (vote)
Assignee: dlipin
URL:
Keywords: GTK, USABILITY
Depends on:
Blocks:
 
Reported: 2007-11-02 19:41 UTC by staszekstyszynski
Modified: 2007-11-03 22:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Empty text area visible on the first panel (25.00 KB, application/octet-stream)
2007-11-02 19:42 UTC, staszekstyszynski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description staszekstyszynski 2007-11-02 19:41:15 UTC
[ BUILD # : 200711020000 ]
[ JDK VERSION : 1.6.0_02 ]

There is an additional empty text area visible on the first panel.
Please see the attached screenshot. I am using the latest build
(netbeans-trunk-nightly-200711020000-ruby-linux.sh).
Everything was OK earlier. Should there be some text?
Comment 1 staszekstyszynski 2007-11-02 19:42:31 UTC
Created attachment 52411 [details]
Empty text area visible on the first panel
Comment 2 dlipin 2007-11-02 19:58:10 UTC
Also reproducible on Solaris.
It is the effect of using emtpty JTextPane wrapped by JScrollPane. 
Even though it is empty, the borders are shown :(
Comment 3 dlipin 2007-11-03 21:22:12 UTC
Looks like the GTK L&F issue (or feature)... I`ll look through the JDK bugs database and search for similar issues and 
possible workarounds.

Anyway it is the result of the fixing the Issue 115727:
http://installer.netbeans.org/source/browse/installer/engine/src/org/netbeans/installer/wizard/components/panels/
netbeans/Bundle.properties?r1=1.34&r2=1.35
http://installer.netbeans.org/source/browse/installer/engine/src/org/netbeans/installer/wizard/components/panels/
netbeans/NbWelcomePanel.java?r1=1.24&r2=1.25

If we found no real fix for this issue we`ll have to revert that change back.
Comment 4 dlipin 2007-11-03 21:56:33 UTC
Possible fix is to add the following line:
scrollPane.setViewportBorder(null);

I need to check whether it works or not.
Comment 5 dlipin 2007-11-03 22:56:57 UTC
Fixed. Unfortunately setViewportBorder(null) doesn`t work so I had to revert back the fix to 115727 (reopening it in 
hope for the better fix)
Checking in NbWelcomePanel.java;
/cvs/installer/engine/src/org/netbeans/installer/wizard/components/panels/netbeans/NbWelcomePanel.java,v  <--  
NbWelcomePanel.java
new revision: 1.27; previous revision: 1.26
done