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 class is at the top of the AWT event hierarchy?

1041


What is jpanel in java swing with example?

920


What are heavy weight components ?

991


How to change button color in java swing?

906


What do you mean by java swing?

892


What is swing container?

887


What is frame in java swing?

953


Explain the difference between awt and swt.

975


What is the difference between applications and applets?

1040


Why would you use swingutilities.invokeandwait or swingutilities.invokelater?

916


What is an event handler in swing?

1095


Why swings are used in java?

897


How to print in java swing application?

891


What is import javax swing * used for?

933


What is the difference between swing and awt in java?

935