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.
[ JDK VERSION : 1.5.0_05 ] When using looks.jar (http://looks.dev.java.net), the arrows at the top right are not painted correctly. I've reported this to the looks team and they diagnose that the problem is in Netbeans code. https://looks.dev.java.net/issues/show_bug.cgi?id=64 I'll attach a screenshot
Created attachment 26074 [details] Screenshot
The problem seems to be in the #paintComponent(Graphics) method of the class BasicScrollingTabDisplayerUI#TimerButton in the package org.netbeans.swing.tabcontrol.plaf. I have created a small patch that seems to fix this issue. I haven't tested this patch with other L&f's.
Created attachment 26075 [details] Fixes this issue by restoring Composite before painting the button.
I confirm that the patch works. Thanks! With this patch, I did not observe any problems with metal l&f under linux.
Assigned to Tim as the author of the class BasicScrollingTabDisplayerUI#TimerButton.
I'm now maintaing parts of code what Tim wrote, so I'm confirming patch is OK and I commited it to the cvs: Checking in BasicScrollingTabDisplayerUI.java; /cvs/core/swing/tabcontrol/src/org/netbeans/swing/tabcontrol/plaf/BasicScrollingTabDisplayerUI.java,v <-- BasicScrollingTabDisplayerUI.java new revision: 1.7; previous revision: 1.6 Thanks for the patch!
fixed.
Verified in Netbeans 5.0 RC1.