| Other Swing Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is the difference between AWT & Swing? | Deshaw | 8 |
| What is the use of JTree? | | 2 |
| what is the diff's between swing and applet? | Patni | 9 |
| What are the features of JFC? | | 1 |
| When i m clicking on next another frame is open but i want
to hide the previous frame...........but it is not
happening....still both frame are visible........how to
make one frame to hide.......please help me....... | | 1 |
| can we create a object in static block
class A
{
static {
A a=new A();
}
}
| | 5 |
| What is the corresponding Layout for Card in Swing? | Patni | 2 |
| What is meant by Swing? | | 4 |
| What are all the components used in Swing? | | 1 |
| how to give transparency for JComboBox,JListBox and JTable | TCS | 1 |
| What is the default look and feel of a Swing Component? | | 2 |
| Name the borders provided by Swing? | Accenture | 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 tab pans? | | 3 |
| What is the base class for all of swing components? | | 3 |
| Does Swing contains any heavy weight component? | | 4 |
| what is difference between checked and unchecked exception
plz explain examples ? | Fujitsu | 2 |
| how can u handle runtime exceptions in java plz explain
with examples briefly? | Fujitsu | 2 |
| 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 are the root classes of all classes? | | 4 |
| |
| For more Swing Interview Questions Click Here |