What is the base class for all of swing components?




Answers were Sorted based on User's Feedback



Answer / shailaja

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

Is This Answer Correct ?    129 Yes 17 No

Answer / chrism

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

Is This Answer Correct ?    63 Yes 13 No

Answer / sushma

javax.swing.Jcomponet class

Is This Answer Correct ?    34 Yes 12 No




Answer / pradeep kr. singh

JComponent class

Is This Answer Correct ?    22 Yes 8 No

Answer / shweta patel

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

Is This Answer Correct ?    15 Yes 2 No

Answer / manikandan

Components

Is This Answer Correct ?    28 Yes 17 No

Answer / rutu

JComponent

Is This Answer Correct ?    2 Yes 0 No

Answer / deepak parshuramkar

Java. Swing.Jcomponent class

Is This Answer Correct ?    1 Yes 2 No

Answer / shital raut

Javax.swing.Jcomponent

Is This Answer Correct ?    1 Yes 2 No

Answer / amit

Japplet

Is This Answer Correct ?    5 Yes 16 No

Post New Answer



More Swing Interview Questions

what is the diff's between swing and applet?

17 Answers   Patni, Invictus,


how to give transparency for JComboBox,JListBox and JTable

2 Answers   TCS,


How to merging the particular cells in JTable

1 Answers  


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 Answers  


what are the root classes of all classes?

4 Answers  






What is JTable and what is its purpose?

4 Answers  


how to give transparency to JComboBox,JList and JTable

5 Answers   Ness Technologies,


How to add and delete nodes in Jtree?

1 Answers   MindMill,


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

7 Answers   Cap Gemini,


What does x mean in javax.swing?

7 Answers  


What are the features of JFC?

1 Answers  


What is the default look and feel of a Swing Component?

3 Answers  






Categories