Re: Nb 8.2RC VisualLibrary Widget default background changed from White to Grey ?

Neil C Smith <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <CAHvRSofVLy13u4a1BXE7zsz3sKA088zon0n=hNHEhCYUzBqKpQ@mail.gmail.com>
Hi,

On 25 September 2016 at 21:58, bruehlicke <[email protected]> wrote:
> After migrating numerous modules using Visual Library from Nb 6.5 to 8.2 (going great so far by the way !) I noticed that many of my backgrounds now are grey instead of white. First I thought it was the JScrollpane viewport not set or changed but realized it was the actual widget extending GraphScene.
>
> Note that the documentation (http://bits.netbeans.org/dev/javadoc/org-netbeans-api-visual/org/netbeans/api/visual/widget/doc-files/documentation.html#Widget) still tells that the default background color for a Widget is Solid White - which is not true anymore.

Yes, I've come across this - it actually changed in NetBeans 8.1,
presumably as part of the move to support dark themes (yet broke mine!
:-) )

Default widget foreground and background colours are now taken from
Label.foreground and Label.background colours in the Swing look and
feel.  So, not necessarily grey either.

Best wishes,

Neil

-- 
Neil C Smith
Artist & Technologist
www.neilcsmith.net

Praxis LIVE - hybrid visual IDE for creative coding - www.praxislive.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.