Name the method, to expand & collapse nodes in a Jtree?
Answer Posted / jayati
JTree provides a set of methods that you can use to expand
or collapse parts of the tree
public void expandRow (int row)
public void collapseRow(int row)
public void expandPath(TreePath path)
public void collapsePath(TreePath path)
Is This Answer Correct ? | 15 Yes | 0 No |
Post New Answer View All Answers
When we should go for codebase in applet?
What is the purpose of transferhandler class?
What is the use of jfc in java swing?
Explain the difference between awt and swt.
What is the use of jcomponent class in swing?
What is swing used for?
What are the advantages of the event-delegation model over the event-inheritance model?
What is swing and awt in java?
What is awt and swing?
What is the function of abstractaction class?
What is swing api?
Where is java swing used?
Which layout does swing use by default?
How to align components in java swing?
Is swing an api?