Re: Nimbus Look and Feel is not applied correctly all the time
Peter Hansson <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <CAC55jYMoWEfnnZPM__Bo6JVJXu4XDX9gpKV3u4P3fN8udT89fA@mail.gmail.com> |
> I've noticed there are still very occasional threading issues with Nimbus, but nothing like as frequently as you're seeing. Hmm. Just out of curiousity: I understand there was a time when NB Platform attempted to create Swing objects off the EDT (for performance reasons) but would then do the actual display on the EDT. I remember some discussion at the time if this was legal behaviour for a Swing application or not. Is that what you are referring to here ? Because in essence a L&F is not expected to be thread safe since everything is assumed to be happening on the EDT. (my memory may be playing tricks on me here so don't take it too literally) Peter On Thu, Jul 28, 2016 at 12:28 PM, Neil C Smith < [email protected]> wrote: > Hi, > > On 27 July 2016 at 23:36, bbergeson <[email protected]> wrote: > > I set the look and feel in an installer class in a module that does not > depend on any of the other modules that I wrote in my project. > > How exactly? In particular, are you doing this as I do here > (PraxisLiveLookAndFeel is a Nimbus subclass)? > > > https://github.com/praxis-live/praxis-live/blob/master/praxis.live.laf/src/net/neilcsmith/praxis/live/laf/Installer.java#L53 > > I've noticed there are still very occasional threading issues with > Nimbus, but nothing like as frequently as you're seeing. > > Best wishes, > > Neil > > > > -- > Neil C Smith > Artist : Technologist : Adviser > http://neilcsmith.net > > Praxis LIVE - hybrid visual IDE for creative coding - www.praxislive.org > Digital Prisoners - interactive spaces and projections - > www.digitalprisoners.co.uk >