Check out UIManager.getColor(String)
and for the keys check out
http://www.gargoylesoftware.com/papers/plafdiff.html
there are shown the differences, but I look to it very ofter to get the
right keys!
Hope this helps
Patrick
Jani Mikkonen wrote:
>
> Actually my question is not straing linux/java question, more like
> general java one but here it goes.
>
> I've wrote a listbox cellrenderer which im using in my crossplatform
> application. This application sets look'n'feel according the OS
> its running as most of the programs like this does. The problem
> in in data representation. My listbox uses its own cell renderer.
> And when i use my own cellrenderer i have to take care of all things
> happening in that cell, including changing background color of cell
> if its selected. That is not a problem. The problem is what color to
> use as a "selected" color and what color to use when its not
> "selected"? I bet, these color schemes can be obtained from somewhere
> but at this point, i havent found any suitable classes that store
> these values.
>
> --
> ---------------------------------------------------------
> | Name : Jani Mikkonen |
> | Email : [EMAIL PROTECTED] |
> | ICQ UIN# : 19840860 |
> | Homepage : http://www.pcuf.fi/~rasjani |
> | ------------------------------------------------------- |
> | 'Save the whales, Feed the hungry and Free the mallocs' |
> ---------------------------------------------------------
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--
-----------------------------------------------------
Save software competition, use Linux and Java!
mailto:[EMAIL PROTECTED]
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]