Change JTree background color.

From: Nuno Paquete (nmp_at_ispgaya.pt)
Date: 02/27/05


Date: Sun, 27 Feb 2005 17:36:02 -0000

Hi group,

I need to change a JTree background color, if possible to transparent.
I tryed to change the background color but the item's background don't
change. How can I do it?

Thanks in advance,

Nuno Paquete



Relevant Pages

  • Re: Color Bug?
    ... If you set the background color of a component, be sure the color has no ... public void adjustColor(int r, int g, int b, int a) { ... a transparent color rendering effect. ...
    (comp.lang.java.programmer)
  • Re: Bitmap to Icon
    ... What I'm doing is reading an .ico file then converting it to a bitmap which I ... I make the background color transparent then convert it back to ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Windows forms with Transparent Backgrounds
    ... When I do this I end up seeing the background color for the form, and you can't set the Background Color of a form to transparent if you do you get a nice runtime error. ... Set the Region property of the form to a new Region, passing in the constructor the GraphicsPath object that you have just created. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Shape background
    ... This is nowhere near as easy as it seems because computers are very bad at ... is completely transparent fill the same as background ... should we compare slide background color and shape background color? ...
    (microsoft.public.powerpoint)
  • Re: Format DataList
    ... I tried setting the background color of the table to transparent like ... <HeaderTemplate> ... rendered rather than that of the template. ...
    (microsoft.public.dotnet.framework.aspnet)