http://bugs.sun.com/view_bug.do?bug_id=6800513
This one? Netbeans might able to work around this with using heavy weight popup menus, but I think the right solution is to completely get rid of lightweight component in swing, I have no idea why not using native widgets if swing wants to be better integrated with the widget. I mean if the whole point of swing is to provide a widget toolkit completely don't depend on native environment, and completely don't care about native widgets, that's fine for lightweight widgets. Since as you see the case here is people want that to "look" like a GTK application with swing, this assumption no longer holds. BTW, I think that can only be done by modifying netbeans's source code, there is no way to modify the defaultLightWeightPopupEnabled property inside the command line at all. On Mon, Jan 6, 2014 at 4:37 AM, Geertjan Wielenga <[email protected]> wrote: > On 01/06/2014 10:31 AM, Michael Ikey Doherty wrote: >> >> On Mon, 2014-01-06 at 10:23 +0100, Geertjan Wielenga wrote: >>> >>> Looking at the screenshots it looks more like a JDK or Gnome bug. There >>> are no layout or painting issues in the screenshot, just the window >>> decorations are missing. We need IDE log to see what’s wrong. >>> >>> Gj >> >> It isn't an IDE bug, its a very long standing Java issue (harks back to >> 1.4.2 days. Suffered for years). Swing's GTK "integration" has been >> sub-par since its very beginnings. Priority is given to Windows >> integration and GTK just does not look good. Whilst it may appear there >> are no layout issues in the screenshots, they do not conform to the rest >> of the GNOME applications, which obviously determine their padding and >> {x,y} offsets from the relevant theme files. >> >> I've raised the issue many times over the last few years to no avail, > > > Issue number, please. > > Thanks, > > Geertjan > > > >> even whilst Sun developed Java. Unfortunately it seems even Swing itself >> now is considered legacy in the face of JavaFX, so perhaps the GTK >> "integration" will never truly be realized. >> >> - Ikey >>> >>> On 01/06/2014 09:28 AM, Michael Ikey Doherty wrote: >>>> >>>> On Mon, 2014-01-06 at 08:54 +0100, Geertjan Wielenga wrote: >>>>> >>>>> Can someone send a screenshot showing how NetBeans is not so well >>>>> integrated? Then we can create an issue in the NetBeans bugtracker and >>>>> get it fixed. >>>>> >>>>> Thanks, >>>>> >>>>> Gj >>>> >>>> Please see my G+ album for two screenshots: >>>> https://plus.google.com/+IkeyDoherty/posts/bs7UADZ2v7r >>>> >>>> Swing popups are undecorated, no doubt due to the fact they're actually >>>> undecorated windows, not using a popup class. Spacing and padding is off >>>> on all menus and buttons (not wide enough). Icon tabs (not sure what >>>> you're calling them in Netbeans) in the preferences dialog use the >>>> Nimbus look and feel, as opposed to falling back to a GTK style button. >>>> >>>> Spacing is off on menus, etc. Icons are Nimbus, not GTK (though this is >>>> most likely just not going to be fixed, due to a lack of support for >>>> native theme access (freedesktop icons)) >>>> >>>> Happy to report other issues if required. Problem is that the GTK theme >>>> in Swing merely uses a GTK2 library to render pixmaps in Swings own way. >>>> Native integration is always going to be an enormous obstacle with a >>>> non-native approach (Which exists for obvious reasons, I know. Just >>>> reporting :)) >>>> >>>> Kind Regards, >>>> Ikey Doherty >>>> >>>>> On 01/06/2014 08:51 AM, Julien Olivier wrote: >>>>>> >>>>>> Le lundi 06 janvier 2014 à 01:45 -0200, Fernando Cassia a écrit : >>>>>>> >>>>>>> On Sun, Jan 5, 2014 at 7:55 PM, Mike <[email protected]> wrote: >>>>>>>> >>>>>>>> I guess that's why there are users perfer to use "ugly" IDE like >>>>>>>> netbeans >>>>>>>> rather than a good looking Anjuta. >>>>>>> >>>>>>> If everyone keeps repeating the "Netbeans is ugly" line, does it make >>>>>>> it true? Less complete than this hypothetical new IDE that is yet to >>>>>>> be written. ;) >>>>>>> >>>>>> I really think that by "it's ugly", all he meant was that it looked >>>>>> ugly >>>>>> (and not so well integrated) compared to a native GTK3 app in a GNOME >>>>>> 3 >>>>>> environment. And this is *true*, even if not *important*. >>>>>> >>>>>> _______________________________________________ >>>>>> desktop-devel-list mailing list >>>>>> [email protected] >>>>>> https://mail.gnome.org/mailman/listinfo/desktop-devel-list >>>>> >>>>> _______________________________________________ >>>>> desktop-devel-list mailing list >>>>> [email protected] >>>>> https://mail.gnome.org/mailman/listinfo/desktop-devel-list >>>> >>>> --------------------------------------------------------------------- >>>> Intel Corporation (UK) Limited >>>> Registered No. 1134945 (England) >>>> Registered Office: Pipers Way, Swindon SN3 1RJ >>>> VAT No: 860 2173 47 >>>> >>>> This e-mail and any attachments may contain confidential material for >>>> the sole use of the intended recipient(s). Any review or distribution >>>> by others is strictly prohibited. If you are not the intended >>>> recipient, please contact the sender and delete all copies. >>> >>> _______________________________________________ >>> desktop-devel-list mailing list >>> [email protected] >>> https://mail.gnome.org/mailman/listinfo/desktop-devel-list >> >> >> --------------------------------------------------------------------- >> Intel Corporation (UK) Limited >> Registered No. 1134945 (England) >> Registered Office: Pipers Way, Swindon SN3 1RJ >> VAT No: 860 2173 47 >> >> This e-mail and any attachments may contain confidential material for >> the sole use of the intended recipient(s). Any review or distribution >> by others is strictly prohibited. If you are not the intended >> recipient, please contact the sender and delete all copies. > > > _______________________________________________ > desktop-devel-list mailing list > [email protected] > https://mail.gnome.org/mailman/listinfo/desktop-devel-list -- Thanks Mike _______________________________________________ desktop-devel-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/desktop-devel-list
