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 is the difference between swing and awt?

0 Answers  


What is a swing application?

0 Answers  


Why swings are called lightweight components?

0 Answers  


What is jlabel java swing?

0 Answers  


What is the difference between swing and awt in java?

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  


What is swing used for?

0 Answers  


What is the relationship between clipping and repainting?

0 Answers  


How can you draw using Swing components?

1 Answers  


What are the differences between Swing and AWT?

0 Answers  


Which package is needed for swing components?

0 Answers  


What is an event and what are the models available for event handling?

0 Answers  


Categories