Set Color JideTabbedPane Buttons background

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.

Set Color JideTabbedPane Buttons background

Postby eramirezj » Wed Jul 11, 2012 7:51 am

I need to customize the Background color of the buttons that are created in a JideTabbedPane component, specifically
these components are setShowTabButtons(true) unique and only visible do, thanks.

View to buttons is:

http://s2.subirimagenes.com/otros/previo/thump_7821404duda.jpg

Image



Thanks.
eramirezj
 
Posts: 12
Joined: Mon Jan 02, 2012 6:43 am

Re: Set Color JideTabbedPane Buttons background

Postby JIDE Support » Wed Jul 11, 2012 11:48 am

Please override JideTabbedPane#createNoFocusButton() and override NoFocusButton#getShadowColor()/getForegroundColor()/getPressedShadowColor() to customize the painting behavior of the button.

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

Re: Set Color JideTabbedPane Buttons background

Postby eramirezj » Wed Jul 11, 2012 1:23 pm

JIDE Support wrote:Please override JideTabbedPane#createNoFocusButton() and override NoFocusButton#getShadowColor()/getForegroundColor()/getPressedShadowColor() to customize the painting behavior of the button.

Thanks,


My version of jide is 2.9.5, could you be a more specific if I can do this with my version.

Thanks.
eramirezj
 
Posts: 12
Joined: Mon Jan 02, 2012 6:43 am

Re: Set Color JideTabbedPane Buttons background

Postby JIDE Support » Wed Jul 11, 2012 1:34 pm

I'm afraid that you might have to upgrade to the latest release to customize those buttons. In 2.9.5, there is no open APIs available.

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


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

Who is online

Users browsing this forum: No registered users and 11 guests