JTree with checkboxes in it : Newbie

From: Thijs David (david.thijs75_at_pandora.be)
Date: 03/28/04


Date: Sun, 28 Mar 2004 14:31:12 GMT

Hi everyone,

I'm making an application in which we need to use two kind of trees. One of
them is a 'normal' implementation of the JTree-object and I got it working
just fine.

The second one is a tree where at each node there has to be a checkbox so
that the user can check the node or not.
Is there anyone who can help me through this , or allready has experience
with this problem.
I'm guessing that I should do something with the DefaultTreeCellRenderer and
the DefaultTreeCellEditor. For the moment I just don't have a clue where I
should begin.

Greetings ,

David



Relevant Pages

  • Re: pests on Hemlock trees
    ... > Thanks so much, David. ... Since my trees are so tall, ... Hi again Sis, ...
    (rec.gardens)
  • Re: AVLV Best/Worst of the Year #1
    ... My payment ... I've sent David 3 ... so he hasn't had a chance to get to the calendars. ... So David was the guy selling Christmas trees on the empty lot on Eastern ...
    (alt.vacation.las-vegas)
  • Re: Jacksonville, Florida
    ... flashing through the pine trees. ... David "The man-for-all-seasons Hamster" Malone ...
    (rec.outdoors.rv-travel)
  • Re: Young Elizabeths sampler
    ... David J wrote: ... Just seen on GenesReunited that there are 5 indiviuals that have named ... her in their trees - so probably she has some living descendants. ... I had expected to find an SGB query - but no. ...
    (soc.genealogy.britain)
  • Re: Bad news from my ophthalmologist: Macular edema and retinopathy. .
    ... stood up to years of kicking David under the table when he says ... A falling coconut can be fatal. ... Standing under the palm and shaking ... As to pineapples not growing on trees, I didn't know that, but never ...
    (alt.support.diabetes)