Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are swing components?

1087


Who created the swing?

933


What is frame in java swing?

1020


Which method of the Component class is used to set the position and size of a component?

996


Where is java swing used?

1078


Is javafx better than swing?

1054


Write a program to include the internal frame in swing.

1011


Why does JComponent have add() and remove() methods but Component does not?

1013


How to align components in java swing?

1136


Is java swing a framework?

1038


What is swing package in java?

974


Why swing is used in java?

1000


How is parsing html used in swing?

1041


How to generate bill in java swing?

1209


What is the difference between a scrollbar and a jscrollpane ?

1350