I am currently programming with OHJ and I am trying to customize the colour of some parts of the help section using UIManager. I am running the help viewer in an applet.
I have managed to customize most of it using UIManager with a few exceptions:
the table of contents tree and background.
the search results table and table header.
For the toc panel I use:
For the search panel I use:
For the index panel I use:
I was wondering if anybody knew why these are not customizable and if there is a solution. These components are customizable using a normal java app/applet.
Many thanks in advance.
The tree control and the table control are custom components that Oracle has built on top of Swing (part of what we call JEWT). I believe that the colors that those components use are also customizeable in a similar fashion, but I will need to dig up the details (which I will post shortly).
Here are the constants that control the colors of those components:
I should have asked which LookAndFeel you were trying to customize (Oracle, Windows, etc)? Did you consider supplying your own Look And Feel?