| Other Swing Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| how to give transparency for JComboBox,JListBox and JTable | | 1 |
| what are the root classes of all classes? | | 4 |
| What are tab pans? | | 2 |
| What is the difference between AWT & Swing? | Deshaw | 6 |
| What does x mean in javax.swing? | | 3 |
| Name the method, to expand & collapse nodes in a Jtree? | Wipro | 1 |
| What are the benefits of using Swing over AWT? | | 1 |
| Does Swing contains any heavy weight component? | | 3 |
| can we create a object in static block
class A
{
static {
A a=new A();
}
}
| | 2 |
| What is meant by Swing? | | 4 |
| Difference between ligt weight and heavy weight? | | 2 |
| What is the base class for all of swing components? | | 3 |
| What is JTable and what is its purpose? | | 3 |
| Difference between AWT and Swing compenents? | | 1 |
| what do u mean by GUI framework | | 1 |
| How can you draw using Swing components? | | 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 |
| when we right click on the JTable using mouse it works
properly but how to right click on JTable in java using
keyboard what should be the code for the same.....?
Thanks
Nitin
| | 1 |
| What is meant by JFC? | Mindlogicx | 5 |
| What is the corresponding Layout for Card in Swing? | Patni | 2 |
| |
| For more Swing Interview Questions Click Here |