Explain the differences between an applet and a Japplet?
Answers were Sorted based on User's Feedback
Components are basically of two types AWT(abstract window
tool) components and swing components. The swing components
provide better look and feel and they are light weight
components compared to awt components. Swing components are
derived from the javax.swing.* package and they are
prefixed with 'J'(like JFrame,JButton,JApplet)....applet is
derived from the package java.applet.*
| Is This Answer Correct ? | 35 Yes | 13 No |
Answer / aastha malhotra
while a japplet is one that has a pluggable lok and feel....
it is not so in case of an applet
japplet gives a better gui
| Is This Answer Correct ? | 9 Yes | 12 No |
Why is model-view-controller architecture used in swing?
how to give transparency for JComboBox,JListBox and JTable
What are all the components used in Swing?
How is parsing html used in swing?
Explain the difference between awt and swt.
What is awt and swing?
Is swing an api?
Which method of the Component class is used to set the position and size of a component?
How are Swing and AWT be differentiated?
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 pane in swing?
What are heavyweight components? What is lightweight component?