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's java swing?
What is actionlistener in java swing?
Is swing thread-safe?
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(); } }
Why is model-view-controller architecture used in swing?
What is the difference between swing and applet?
Is java swing still used?
What class is at the top of the AWT event hierarchy?
What is the design pattern that java uses for all swing components ?
What is the difference between AWT and Swing ?
How to change button color in java swing?
What are differences between swing and awt?