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 is swing control?
Which window contains the swing controls?
What is the purpose of action interface in swing?
Explain the below Statement if(ae.getSource()==b1)
What are the different components that are used to show a container?
What are the various components of swing?
what are the steps required in creating an empty table drop?
Which method is used by the applet to recognize the height and width?
Which method of the Component class is used to set the position and size of a component?
Default layout for a ContentPane in JFC?
What is the class in swing to change the appearance of the frame in runtime?
What is java swing used for?