| Other Swing Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is meant by Swing? | | 4 |
| What is the difference between AWT and Swing ? | TCS | 1 |
| Name the method, to expand & collapse nodes in a Jtree? | Wipro | 1 |
| What is the corresponding Layout for Card in Swing? | Patni | 2 |
| How to merging the particular cells in JTable | | 1 |
| Difference between AWT and Swing compenents? | | 1 |
| when i run Frame program, it display output in supparate
window.i try to close using "X" it not close.min'-' &
max'+' are working.pls what is problem? i run in editplus.
folowing program i given.
import java.awt.*;
class Form1
{
Frame f1=new Frame("loginpage");
Label l1=new Label("username");
Label l2=new Label("password");
TextField tf1=new TextField();
TextField tf2=new TextField();
Button b1=new Button("submit");
Form1()
{
f1.setLayout(new FlowLayout());
f1.add(l1);
f1.add(tf1);
f1.add(l2);
f1.add(tf2);
f1.add(b1);
f1.setSize(437,440);
f1.setVisible(true);
//f1.dispose();
}
public static void main(String[] args)
{
Form1 f=new Form1();
}
} | | 4 |
| what are the root classes of all classes? | | 4 |
| How can you draw using Swing components? | | 1 |
| Does Swing contains any heavy weight component? | | 3 |
| What is meant by JFC? | Mindlogicx | 5 |
| how to give transparency for JComboBox,JListBox and JTable | | 1 |
| what do u mean by GUI framework | | 1 |
| Name the borders provided by Swing? | Accenture | 1 |
| Default layout for a ContentPane in JFC? | HCL | 4 |
| What is the use of JTree? | | 2 |
| Difference between ligt weight and heavy weight? | | 2 |
| how to give transparency to JComboBox,JList and JTable | Ness-Technologies | 1 |
| What is JTable and what is its purpose? | | 3 |
| How are Swing and AWT be differentiated? | Wipro | 2 |
| |
| For more Swing Interview Questions Click Here |