Why do we use swing in java?



Why do we use swing in java?..

Answer / Anand Kumar Jha

We use Swing in Java for creating graphical user interfaces (GUIs) that offer a high degree of functionality and customization, support for multi-platform development, lightweight components, and an event-driven programming model.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Swing Interview Questions

Explain the difference between jfc & wfc.

1 Answers  


Explain how to render an html page using only swing.

1 Answers  


What is swing framework in java?

1 Answers  


can we create a object in static block class A { static { A a=new A(); } }

7 Answers   Cap Gemini,


Can a class be it?s own event handler? Explain how to implement this?

1 Answers  


What is jfc? What are the features of jfc?

1 Answers  


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 Answers  


What are tab pans?

3 Answers  


What are the advantages of swing?

1 Answers  


What is jpanel in java swing with example?

1 Answers  


What are the advantages of java swing over angular?

1 Answers  


What is the base class for all of swing components?

11 Answers   Infosys,


Categories