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 frame in java swing?
Explain how to render an html page using only swing.
Who created the swing?
How can you draw using Swing components?
What is the difference between swing and applet?
What are the advantage of swing over awt?
What is the function of lightweight components used in swing?
I want to change the appearance of Frame in Runtime, what class can be used to do this?
Which window contains the swing controls?
What is double buffering ?
What is the purpose of action interface in swing?
Name the method, to expand & collapse nodes in a Jtree?