Name the method, to expand & collapse nodes in a Jtree?
Answer / 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 |
What is an event and what are the models available for event handling?
What is java swing components?
Which swing methods are thread-safe?
Why swings are used in java?
What is the purpose of action interface in swing?
What is the difference between applications and applets?
What are tab pans?
Which method is used for setting security in applets?
What are swing components?
What is jfc swing in java?
What are the advantages of swing?
what are the root classes of all classes?