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 Image) <comment type="random" action="(ignore|grin)"> As part of the eyecandy campaign to make Vista superior to MacOS X, CheckboxMenuItems come in many favours: tick with big box, big box, small box, tick with small box, tick w/o box, ... </comment> Product Version: NetBeans IDE Dev (Build 200710270000) Java: 1.6.0_05-ea; Java HotSpot(TM) Client VM 1.6.0_05-ea-b05 System: Windows Vista version 6.0 running on x86; Cp1252; en_GB (nb) Userdir: C:\Users\User\.netbeans\dev java version "1.6.0_05-ea" Java(TM) SE Runtime Environment (build 1.6.0_05-ea-b05) Java HotSpot(TM) Client VM (build 1.6.0_05-ea-b05, mixed mode, sharing)
Created attachment 51879 [details] screenshot
Reassigning to "contrib" for evaluation.
Erm.... I thought "Show Diff Sidebar" is part of the standard IDE editor feature?! And what has this to do with TTEditor?
No idea what this has to do with tteditor. Probably a mistake.
Reassigning..
the 'strange' checkbox probably just needs setOpaque( false )
Hmm, strange. i can't reproduce on my Vista box with exactly the same JDK version. Check boxes are painted correctly, exactly the way I see them in Windows Explorer which I used for reference comparison. There must be some other differences as non-standard theme set or something else. Moreover we don't do anything special in menus so I tend to think this might be more JDK/Swing issue then NB one. Reporter please try to reproduce on your machine on SwingSet2 JDK demo app or in simple app created by netbeans visual editor and reopen with details if the bug still persists, thanks.
The issue is readily reproducible with variance. Attached 2 more screen shots on IDE Startup and when the first source file is opened in editor. Not taking into account the extra plugin's menu item, the absence / presence of the tick is spurious IMO.
Created attachment 52034 [details] IDE Startup
Created attachment 52035 [details] Editor opened
Created attachment 52036 [details] SwingSet2's correct behaviour
Created attachment 52041 [details] Vista's Windows Explorer
Oh, and the only thing I have changed theme-wise since Vista's installation is the Desktop background...
After working with a module project, I think I've figured out ways to reproduce this problem in code. The half-size empty checkbox can be achieved by extending BooleanStateAction. The full-size empty checkbox can be achieved by CallableSystemAction with MenuPresenter replaced with JCheckBoxMenuItem, and with setAction(action). The correct behaviour can be achieved by CallableSystemAction with MenuPresenter replaced with JCheckBoxMenuItem, and with addActionListener(actionListener).
moving opened issues from TM <= 6.1 to TM=Dev
works fine with latest jdk on ms win 7, please reopen if still reproducible, thanks