What is the base class for all of swing components?

Answers were Sorted based on User's Feedback



What is the base class for all of swing components?..

Answer / shailaja

All swing components are derived from abstract
javax.swing.Jcomponet class

Is This Answer Correct ?    147 Yes 21 No

What is the base class for all of swing components?..

Answer / chrism

Given that Java is case sensitive, i should say that the
correct answer is javax.swing.JComponent class

Is This Answer Correct ?    70 Yes 13 No

What is the base class for all of swing components?..

Answer / sushma

javax.swing.Jcomponet class

Is This Answer Correct ?    37 Yes 13 No

What is the base class for all of swing components?..

Answer / pradeep kr. singh

JComponent class

Is This Answer Correct ?    27 Yes 8 No

What is the base class for all of swing components?..

Answer / shweta patel

Abstract Button
ButtonGtoup
ImageIcon
JApplet
JButton
JCheckbox
JComboBox
JLabel
JRadioButton
JScrollPane
JTabbedPane
JTable
JTextField
JTree

Is This Answer Correct ?    18 Yes 4 No

What is the base class for all of swing components?..

Answer / manikandan

Components

Is This Answer Correct ?    31 Yes 18 No

What is the base class for all of swing components?..

Answer / rutu

JComponent

Is This Answer Correct ?    4 Yes 1 No

What is the base class for all of swing components?..

Answer / shital raut

Javax.swing.Jcomponent

Is This Answer Correct ?    4 Yes 2 No

What is the base class for all of swing components?..

Answer / deepak parshuramkar

Java. Swing.Jcomponent class

Is This Answer Correct ?    3 Yes 2 No

What is the base class for all of swing components?..

Answer / rutuja

javax.swing.*;

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Swing Interview Questions

What's java swing?

0 Answers  


What is actionlistener in java swing?

0 Answers  


Is swing thread-safe?

0 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  


Why is model-view-controller architecture used in swing?

0 Answers  






What is the difference between swing and applet?

0 Answers  


Is java swing still used?

0 Answers  


What class is at the top of the AWT event hierarchy?

0 Answers  


What is the design pattern that java uses for all swing components ?

0 Answers  


What is the difference between AWT and Swing ?

1 Answers   TCS,


How to change button color in java swing?

0 Answers  


What are differences between swing and awt?

0 Answers  


Categories