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.
[nb_dev](184), [jdk1.3.1](rc1) - try select and move jtoolbar in added java file(attachment). Select border stay visible on bad place if you move JtoolBar (with some component - JToggleButton), frame is repainted and stay visible two selected border . If you move JToolBar you can see "small repaint efect - change font and size for a while"
Created attachment 1341 [details] Form file
Created attachment 1342 [details] JAVA file
This is a Look & Feel issue. The problem is that MetalToobarUI (when JToolBar is being created) updates UI of its subcomponents in next AWT event - when UIDefaults are already set back to IDE's default. So e.g. a button in JToolBar is displayed with bold font 12, but immediately changed to plain font 11 (changing also the preferred size of the toolbar).
If I now move JToolBar, select border are repainted right and small repaint efect disappears (only next opening is changed font). This seems work now [nb_dev](20010905).
The first "moving" problem disappeared because a new instance is no more created when a component is moved. But the core of the problem (behavior of MetalToolbarUI) remains. But I've fortunately found a workaround for it, so also this should be fixed now. Please verify.
verified in [nb_dev](20010907)
Resolved for 3.3.x or earlier, no new info since then -> closing.