Nb 8.2RC VisualLibrary Widget default background changed from White to Grey ?
"bruehlicke" <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
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. No big deal, just wanted to share my findings in case of some poor soul out there is hunting for the location to where to set the color to white and is going mental on this. Solution: If you have a class extending GraphScene make sure your are setting the Background to white. I did it in a constructor this.setBackground(Color.white);