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 method is used to specify a container's layout?
Why does JComponent have add() and remove() methods but Component does not?
What are differences between swing and awt?
Is there any heavyweight component in swings?
Which is better swing or awt?
Why should the implementation of any swing callback (like a listener) execute quickly?
What is swing gui?
Explain the differences between an applet and a Japplet?
2 Answers College School Exams Tests, Satyam,
What is the base class for all swing components?
What is java swing package?
Why do we use swing in java?
What is swing framework in java?