jTree beginner

M

mr.szpaw

Hi, I'm a java beginner. I'd like to ask about jTree. When I put it on
my form (NetBeans) it has some roots and nodes. How should I clear it?
I'd like to have a clear, simple jTree, I will fill it lately.

Thanks,
Have a nice day.
 
M

Michael Rauscher

Hi,

Hi, I'm a java beginner. I'd like to ask about jTree. When I put it on
my form (NetBeans) it has some roots and nodes. How should I clear it?
I'd like to have a clear, simple jTree, I will fill it lately.

First of all, it's JTree not jTree and it's Java not java. Secondly,
don't use NetBeans GUI Editor if you're a Java beginner. And last but
not least (to answer you question): you've to provide an object that
implements the TreeModel interface. You may use the property editor to
do that.

Bye
Michael
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top