Name the method, to expand & collapse nodes in a Jtree?



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

Post New Answer

More Swing Interview Questions

What is frame in java swing?

0 Answers  


Explain how to render an html page using only swing.

0 Answers  


Who created the swing?

0 Answers  


How can you draw using Swing components?

1 Answers  


What is the difference between swing and applet?

0 Answers  






What are the advantage of swing over awt?

0 Answers  


What is the function of lightweight components used in swing?

0 Answers  


I want to change the appearance of Frame in Runtime, what class can be used to do this?

2 Answers   TCS, Wipro,


Which window contains the swing controls?

0 Answers  


What is double buffering ?

0 Answers  


What is the purpose of action interface in swing?

0 Answers  


Name the method, to expand & collapse nodes in a Jtree?

1 Answers   Wipro,


Categories