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
What is content pane in swing?
What is an on stage swing?
What are the two key features of swing?
What are heavy weight components ?
Is swing still used?
What is frame in java swing?
What is layout in java swing?
Why swing components are called lightweight components?
Is javafx better than swing?
what are the steps required in creating an empty table drop?
What are the advantages of java swing over angular?
Explain how to render an html page using only swing.
What is swing package in java?
What is java awt and swing?
How to generate bill in java swing?