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(200506281800), JDK6.0 (b42) , -J-DuseGtk=true See attached screenshots : - JDK6.0 + useGtk => no separators - JDK6.0 => separators are visible - JDK5.0 + useGtk => separators are visible
Created attachment 22950 [details] screenshot of the menu JDK 5.0 GTK
Created attachment 22951 [details] screenshot of the menu JDK 6.0 GTK
One of the most visible GTK problem (and 6.0 approaching beta). So far it seems like regression in 6.0-ea - I haven't found any yet. JMenu.addSeparator() and/or JPopupMenu.addSeparator() doesn't work (unrelated to NB). However may be workarounded by replacing "addSeparator()" with "add(new JSeparator())". Also maybe there are some supposed differences between add(new JSeparator()) and addSeparator() which I'm not aware of. If yes, please enlighten me. Otherwise issue against JDK should be filed. Should be solved for NB 5.0, I believe. Attaching working patch.
Created attachment 26662 [details] working patch
Filled JDK bug 6346746. But as it can be easily workaround (the attached patch), leaving issue open.
JDK bug was evaluated and will be delivered in Mustang. So I'm suggesting WONTFIX. For those who can't live with it could temporarily workaround with the attached patch as I did ;)
Thanks Martin for your work, I agree with your conclusion.
verified JDK bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6346746