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 java swing used for?

0 Answers  


Where is java swing used?

0 Answers  


What things to do to make a web browser compatibale for swing components?

1 Answers   Tesco, TracFone, Wipro,


What are the differences between Swing and AWT?

0 Answers  


Write a program to paint the off-screen buffer in swings

0 Answers  






What is swing api?

0 Answers  


What method is used to specify a container's layout?

0 Answers  


What is java awt and swing?

0 Answers  


What is double buffering ?

0 Answers  


What is swing used for?

0 Answers  


How to move from one page to another in java swing?

0 Answers  


Which is better swing or awt?

0 Answers  


Categories