Java Swing tutorial is a part of Java Foundation Classes (JFC) that is used to create window-based GUI applications. The Java Foundation Classes (JFC) are a set of GUI components which simplify the development of desktop applications. It is built on the foundation of AWT (Abstract Windowing Toolkit). Swing also uses the same event handling mechanism as the AWT. The javax.swing package provides classes for java swing API such as JButton, JTextField, JTextArea, JRadioButton, JCheckbox, JMenu etc.
JAVA AWT | JAVA Swing |
---|---|
1.Java AWT components are platform dependent. | 1.Java Swing components are platform independent. |
2.AWT components are heavyweight. | 2.Swing components are lightweight. |
3.AWT does not support pluggable look and feel. | 3.Swing supports pluggable look and feel. |
4.AWT does not follow MVC. | 4.Swing follow MVC (Model View Controller) where model represents data, view represents presentation and controller acts as an interface between model and view. |
Silan Software is one of the India's leading provider of offline & online training for Java, Python, AI (Machine Learning, Deep Learning), Data Science, Software Development & many more emerging Technologies.
We provide Academic Training || Industrial Training || Corporate Training || Internship || Java || Python || AI using Python || Data Science etc