color in JIdeTabbedPane

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.

color in JIdeTabbedPane

Postby staiger » Fri Nov 29, 2013 1:12 am

Hi,

I have the following problem with a JIdeTabbedPane:

getTabbedPane().setBackgroundAt(idx, Color.red);

does not work. The foreground is set to Color.red and blurred.

Thank you
Norbert
staiger
 
Posts: 13
Joined: Wed Mar 03, 2010 3:17 am

Re: color in JIdeTabbedPane

Postby JIDE Support » Fri Nov 29, 2013 11:16 am

setBackgroundAt doesn't always work for all the tab styles and L&Fs. You may try to use setTabColorProvider call instead which will work for all the cases.
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37245
Joined: Sun Sep 14, 2003 10:49 am

Re: color in JIdeTabbedPane

Postby staiger » Mon Dec 02, 2013 2:06 am

Thank you.

The text is a little bit blurred, but it works.

Thank you
Norbert
staiger
 
Posts: 13
Joined: Wed Mar 03, 2010 3:17 am


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

Who is online

Users browsing this forum: No registered users and 6 guests

cron