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 ? | 147 Yes | 21 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 ? | 70 Yes | 13 No |
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 difference between swing and awt?
What is a swing application?
Why swings are called lightweight components?
What is jlabel java swing?
What is the difference between swing and awt in java?
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(); } }
What is swing used for?
What is the relationship between clipping and repainting?
How can you draw using Swing components?
What are the differences between Swing and AWT?
Which package is needed for swing components?
What is an event and what are the models available for event handling?