Bruce Schubert
|
Posted: October 12, 2010 13:46 by Bruce Schubert
|
|
To override the default look and feel options at a granular level, I specified a themes.xml file within the application suite's branding folder. I thought the default background color was too dark for on the Mac OSX Aqua look and feel, so I overrode that particular value using the following technique: 1) Create/edit the themes.xml file within the branding folder: branding/core/core.jar/org/netbeans/core/startup/resources/themes.xml 2) Create a theme and themeset within the themes.xml file:
<?xml version="1.0" encoding="UTF-8" ?>
<!--Multiple themes are allowed, specify which ones are active in comma delimited list-->
<themeset active="Desktop">
<theme name="Desktop">
<color key="Panel.background" r="204" g="204" b="204" />
</theme>
</themeset>
3) Specify the use of a custom theme in the suite's project.properties: run.args.extra=-J-Dnetbeans.useTheme=true |
CPS Custom Look and Feel for NetBeans Platform
Replies: 0 - Last Post: October 12, 2010 13:46
by: Bruce Schubert
by: Bruce Schubert
showing 1 - 1 of 1
Replies: 0 - Last Post: October 12, 2010 13:46
by: Bruce Schubert
by: Bruce Schubert






