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.
Summary: | [60cat] Empty text area | ||
---|---|---|---|
Product: | installer | Reporter: | staszekstyszynski <staszekstyszynski> |
Component: | Code | Assignee: | dlipin <dlipin> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | Keywords: | GTK, USABILITY |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Empty text area visible on the first panel |
Description
staszekstyszynski
2007-11-02 19:41:15 UTC
Created attachment 52411 [details]
Empty text area visible on the first panel
Also reproducible on Solaris. It is the effect of using emtpty JTextPane wrapped by JScrollPane. Even though it is empty, the borders are shown :( 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. Possible fix is to add the following line: scrollPane.setViewportBorder(null); I need to check whether it works or not. 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 |