File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTree problem

 
swarna latha
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have constructed empty tree.
when ever if i click add button then only tree should visible without root.I have used tree.setrootVisible(false).But its not working for my code.I am trying add one node only.If i try to add one more node i can able to get add for that method.
For add button i added actinlistener.there when ever i click add button i am getting data from textfield(textfield.gettext()) like that.
I can collect only one data from,next time if click i am getting data.But i cant able add that text to tree as a next root.

please help me on this
Thanks and regards
Swarna
 
sammaiah kyatham
Ranch Hand
Posts: 104
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did't understand your requirement. Tree with out root???

Can you post your requirement with code.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic