A project by
Ritik Verma
Information Technology
17IT41
Advanced Java 3rd Year/5th SEM
• Java is platform independent: the same
program can run on any correctly implemented
Java system
• Java is object-oriented:
• Structured in terms of classes, which group
data with operations on that data
• Can construct new classes by extending
existing ones
• Java designed as
• A core language plus
Features of • A rich collection of commonly available
Java packages
• Java can be embedded in Web pages
Java AWT (Abstract Window Toolkit) is an API to
develop GUI or window-based applications in
java.
Java AWT components are platform-dependent
i.e. components are displayed according to the
JAVA AWT view of operating system. AWT is heavyweight
i.e. its components are using the resources of
OS.
The [Link] package provides classes for AWT
api such as Text Field, Label, Text Area,
RadioButton, CheckBox, Choice, List etc.
Button
Object Label
Checkbox
Component
Choice
Java AWT List
Hierarchy Container
Window Panel
Applet
Frame Dialog
Example of AWT
Java Swing
Java Swing is a part of Java Foundation Classes (JFC) that
is used to create window-based applications. It is built on the
top of AWT (Abstract Windowing Toolkit) API and entirely
written in java.
Unlike AWT, Java Swing provides platform-independent and
lightweight components.
The [Link] package provides classes for java swing API
such as JButton, JTextField, JTextArea, JRadioButton,
JCheckbox, JMenu, JColorChooser etc.
Java Swing Java AWT
Java swing components AWT components
are platform-independent. are platform-dependent.
Swing components AWT components
are lightweight. are heavyweight.
Swing supports pluggable AWT doesn't support
look and feel. pluggable look and feel.
Swing provides more AWT provides less
AWT
powerful components such components than Swing. VS
as tables, lists, scrollpanes,
colorchooser, tabbedpane etc. SWING
Swing follows MVC. AWT doesn't follows
MVC(Model View Controller)
where model represents data,
view represents presentation
and controller acts as an
interface between model and
view.
Swing
Hierarchy
Project Hostel Management System
API’s Used
in Project
1 2 3
Sublime / Notepad++ Eclipse MySQL
Editor for programming Drag and Dropping Tool for Creating and Connecting
different API’s used in project. java swing Database to project using
JDBC logics.
Implementation and Execution Basic layout of project
4
NetBeans
Process in It is an integrated development environment for Java.
Making of NetBeans allows applications to be developed from a
Project
set of modular software components called modules.
NetBeans runs on Windows, macOS, Linux and Solaris
Thank You..