Hi,
I think it's setBaseColor not setColor.
Best,
Jamal
2014-06-03 23:52 GMT+01:00 Roger Whitcomb <[email protected]>:
> Hi Jamal,
>
> So, I’m assuming you want to change the RGB value of one
> of the theme colors to something different, is that true? If that’s what
> you want to do it is quite easy:
>
> Theme theme = Theme.getTheme();
>
> theme.setColor(index, new Color(…));
>
> But, note that you should do this before displaying any
> GUI elements because components that have already been painted will not be
> updated by making this call.
>
>
>
> HTH,
>
> ~Roger
>
>
>
> *From:* Jamal BERRICH [mailto:[email protected]]
> *Sent:* Tuesday, June 03, 2014 5:31 AM
> *To:* [email protected]
> *Subject:* Pivot theme
>
>
>
> Hi,
>
> I want to create my own theme color to applicate to my new Pivot
> application (i will share a screencast as soon)
>
> but how :( ?
>
> Best,
>
> Jamal
>