CPS Custom Look and Feel for NetBeans Platform

  1 post   Feedicon  
Replies: 0 - Last Post: October 12, 2010 13:46
by: Bruce Schubert
showing 1 - 1 of 1
 
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
Replies: 0 - Last Post: October 12, 2010 13:46
by: Bruce Schubert
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close