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 195863

Summary: tabs in output window aren't properly drawn on JDK 7
Product: platform Reporter: Stepan Zebra <stezeb>
Component: JDK ProblemsAssignee: Antonin Nebuzelsky <anebuzelsky>
Status: CLOSED WONTFIX    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: output tabs glitch

Description Stepan Zebra 2011-02-23 14:09:34 UTC
Created attachment 106336 [details]
output tabs glitch

Product Version: NetBeans IDE Dev (Build 201102230001)
Java: 1.7.0-ea; Java HotSpot(TM) Client VM 21.0-b02
System: Linux version 2.6.32-28-generic running on i386; UTF-8; en_US (nb)

When using JDK 7, tabs in output window aren't fully drown. I've made a screenshot with comparison of normal look no JDK 6 and corrupted look on JDK 7. See attachment.
Comment 1 Martin Entlicher 2011-03-01 13:45:07 UTC
Reproduced. It's not visible well on javax.swing.plaf.nimbus.NimbusLookAndFeel and com.sun.java.swing.plaf.gtk.GTKLookAndFeel.
Comment 2 Martin Entlicher 2011-03-01 16:48:40 UTC
Removing fix-in-nb701, since this can not be fixed in NB.
This is a defect in the look and feel.
Also, it's not a problem of Output Window, but CloseButtonTabbedPane in openide.awt.
Can be workarounded by removing setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT); but it may not be desired.
Comment 3 Marian Mirilovic 2011-06-08 19:36:55 UTC
Hmm, it works - but JDK bug is still opened :
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7031915

verified in :
Product Version: NetBeans IDE 7.0.1 Dev (Build 201106072116)
Java: 1.7.0-ea; Java HotSpot(TM) 64-Bit Server VM 21.0-b15