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.
See attached screenshot. It looks like icons does not have transparent background. Strange.
Created attachment 13990 [details] Toolbar screenshot
I've double checked that the icons have transparent background in gimp. The code that actually creates the button is JToolbar.add(Action a) - it creates regular JButton instance so I assume the default UIManager settings should be applied. Strange. Anyway we should likely resolve this into promoD. Added Gabo to cc whether he would have any clue.
I don't have any idea why it doesn't work.
I think that it applies to any toolbar button in IDE.
I saw it only for editor. It uses gradient toolbar rendering. Other toolbars do not (however rollovers show it). java version "1.5.0-beta2" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b42) Java HotSpot(TM) Client VM (build 1.5.0-beta2-b42, mixed mode, sharing)
Created attachment 13997 [details] screenshot
I've attached screenshot showing the same behavior in Main window toolbars.
Milan, I'm seeing it only for editor toolbar, main window toolbars are OK on Ocean LF. Passing back to editor guys.
already fixed. JButton.setContentAreaFilled(false) is the answer :-) The button will use gradient also after this. *** This issue has been marked as a duplicate of 45486 ***
v/c