Hi
I'm trully a newbie to Java. I've been reading the Java tutorial
available at java.sun.com but i need to make a quick presentation of a
small applet and I need a little beet of help. If you point me in the
direction of specifics docs i will appreciate equally, waht i need are
just examples.
My applet needs to present a jtree with rootVisible=false. THe children
might not exist, but if they do they will be retrieved thorugh JDBC
(This is not important). I would like to use the JTree constructor that
accepts an array of objects so that it wouldn't show the root node.
The question is :
(i feal really stupid about asking this, but i really need it) How do I
create the array of objects ? Let's say i have a tree structrure like
this:
Child1
Grandcilhd1
GrandGrandchild1
Grandchil2
Child2
Child3
Can you please help me? Thanks
P.S.: How do I create a empty array of objects. Thanks
--
Mario Filipe
[EMAIL PROTECTED]
http://neptuno.sc.uevora.pt/~mjnf
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]