This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
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.