| Other Swing Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Default layout for a ContentPane in JFC? | HCL | 4 |
| What is meant by Swing? | | 4 |
| What is the default look and feel of a Swing Component? | | 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 |
| 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 is the use of JTree? | | 2 |
| Does Swing contains any heavy weight component? | | 4 |
| what do u mean by GUI framework | | 1 |
| can we create a object in static block
class A
{
static {
A a=new A();
}
}
| | 5 |
| Name the borders provided by Swing? | Accenture | 1 |
| how can u handle runtime exceptions in java plz explain
with examples briefly? | Fujitsu | 2 |
| What is meant by JFC? | Mindlogicx | 5 |
| 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....... | | 2 |
| What is the difference between AWT and Swing ? | TCS | 1 |
| Name the method, to expand & collapse nodes in a Jtree? | Wipro | 1 |
| Explain the differences between an applet and a Japplet? | Satyam | 1 |
| What are the features of JFC? | | 1 |
| how to give transparency for JComboBox,JListBox and JTable | TCS | 1 |
| What are the benefits of using Swing over AWT? | | 1 |
| how to give transparency to JComboBox,JList and JTable | Ness-Technologies | 3 |
| |
| For more Swing Interview Questions Click Here |