Change Jide Look and Feel Colors

This is the forum for JIDE Common Layer which is open sourced at https://github.com/jidesoft/jide-oss. Please note, JIDE technical support doesn't monitor this forum as often as other forums. Please consider subscribe for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

Moderator: JIDE Support

Forum rules
Community driven forum for open source JIDE Common Layer. JIDE technical support doesn't monitor this forum as often as other forums. If you only use JIDE Common Layer, please consider subscribing for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

Change Jide Look and Feel Colors

Postby pablovilas » Tue Dec 06, 2011 11:06 am

Hello,

I just want to change some colors in "Office2007" look, it´s enough just override the painter class (Office2007Painter.java)?. And how I can force to my code that just use my new custom painter with Office2007 extension style. Thank you very much.
pablovilas
 
Posts: 45
Joined: Wed Aug 31, 2011 10:13 am

Re: Change Jide Look and Feel Colors

Postby JIDE Support » Tue Dec 06, 2011 11:15 am

Can you please list what colors you want to change?

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 36503
Joined: Sun Sep 14, 2003 10:49 am

Re: Change Jide Look and Feel Colors

Postby pablovilas » Tue Dec 06, 2011 11:18 am

All skyblues colors, example: CommandBar background color, JideTabbedPane tabs colors, etc. As I can see some of then are customizables by
Code: Select all
UIDefaultsLookup.getColor("JideTabbedPane.background");
but also wanna change others. Thank you
pablovilas
 
Posts: 45
Joined: Wed Aug 31, 2011 10:13 am

Re: Change Jide Look and Feel Colors

Postby JIDE Support » Tue Dec 06, 2011 11:41 am

For CommandBar, please override Office2007Painter#paintCommandBarBackground(). For JideTabbedPane tab color, please invoke the following code.
Code: Select all
                UIManager.getDefaults().put("JideTabbedPane.background", Color.red);

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 36503
Joined: Sun Sep 14, 2003 10:49 am

Re: Change Jide Look and Feel Colors

Postby pablovilas » Tue Dec 06, 2011 11:52 am

Thank you very much for your answer, but how can I force to use my new override painter class?. Thank you very much.
pablovilas
 
Posts: 45
Joined: Wed Aug 31, 2011 10:13 am

Re: Change Jide Look and Feel Colors

Postby JIDE Support » Tue Dec 06, 2011 11:56 am

Please put your customized painter instance into the UIDefaults with the key "Theme.painter".

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 36503
Joined: Sun Sep 14, 2003 10:49 am

Re: Change Jide Look and Feel Colors

Postby pablovilas » Tue Dec 06, 2011 12:41 pm

Just work fine!. Thanks you very much :).
pablovilas
 
Posts: 45
Joined: Wed Aug 31, 2011 10:13 am


Return to JIDE Common Layer Open Source Project Discussion (Community Driven)

Who is online

Users browsing this forum: Bing [Bot] and 5 guests