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 ?    114 Yes 16 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 ?    60 Yes 12 No

Answer / sushma

javax.swing.Jcomponet class

Is This Answer Correct ?    33 Yes 10 No




Answer / manikandan

Components

Is This Answer Correct ?    28 Yes 15 No

Answer / pradeep kr. singh

JComponent class

Is This Answer Correct ?    19 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 ?    13 Yes 2 No

Answer / deepak parshuramkar

Java. Swing.Jcomponent class

Is This Answer Correct ?    0 Yes 0 No

Answer / rutu

JComponent

Is This Answer Correct ?    0 Yes 0 No

Answer / shital raut

Javax.swing.Jcomponent

Is This Answer Correct ?    0 Yes 1 No

Answer / amit

Japplet

Is This Answer Correct ?    4 Yes 15 No

Post New Answer





More Swing Interview Questions

how to give transparency to JComboBox,JList and JTable

5 Answers   Ness Technologies,


what do u mean by GUI framework

1 Answers  


Explain the differences between an applet and a Japplet?

2 Answers   Satyam, College School Exams Tests,


What is the base class for all of swing components?

10 Answers   Infosys,


What does x mean in javax.swing?

7 Answers  






How to add and delete nodes in Jtree?

1 Answers   MindMill,


what are the root classes of all classes?

4 Answers  


what is the diff's between swing and applet?

17 Answers   Patni, Invictus,


what is difference between checked and unchecked exception plz explain examples ?

5 Answers   Fujitsu,


What are tab pans?

3 Answers  


how can u handle runtime exceptions in java plz explain with examples briefly?

3 Answers   IBM, Fujitsu,


How are Swing and AWT be differentiated?

3 Answers   Wipro,






Categories