SlideShare a Scribd company logo
3
Most read
4
Most read
9
Most read
GUI in Java
HALDIA INSTITUTE OF TECHNOLOGY
A presentation on
Presented by: GAURAV RAJ
Roll no: 14/CS/33
Date: 02/03/2017
What is GUI ?
 GUI is an abbreviation for Graphical User
Interface.
 It is an interface that allows user to communicate
with programs through graphical icons with
some visual effects.
 It is helpful in getting rid of those text-based
interfaces used to perform various tasks.
Definition
An example of text-based interface An example of GUI
• Choosing Windows over other operating systems is
a result of better GUI provided by the respective
company.
Text – based interface Vs GUI
Examples of GUI
Terms in GUI
 User interface components
 Content Pane
 Frame
 Layout Manager
 Panel
 Event - Driven programming
Layout Manager
Flow Layout Border Layout Grid layout
 Flow Layout: The position of components depends on dimensions of the
content pane.
 Border Layout: Directions like north, south, west and east as well as center
are used to position various components on a pane.
 Grid Layout: ‘m’ number of components are divided into ‘n’ number of rows
making their positions fixed till there is no change in ‘m’ or ‘n’.
The position of components will
change on any change in dimensions
of the frame
Here positions of components are
fixed in various directions and at
center.
Here 6 components (3 labels and 3 text-
fields) are divided into 3 rows and 2
columns thus making their positions
fixed.
Various components
Frame Buttons
Panel 1
Panel 2
Button
Panel
Label
Text Field
Graphics
 Whenever a component is added to a frame, an instance of
‘Graphics’ class is automatically created.
 It is the graphics object that invokes paintComponent( ) method to
draw the components on the panel.
 A graphics object is like a pencil or a paintbrush which is
responsible for drawing.
Event – Driven Programming
 Actions to be taken after clicking a mouse button, pressing a
keyboard button, or dragging a mouse come under this category.
 There are various interfaces known as listeners defined for various
button operations.
 Implementation of these listeners decides actions to be taken on
those button operations.
Conclusion
 Definition of GUI
 Applications of GUI
 Various components of GUI
 Various terminologies
 Graphics & Event – Driven programming
THANK YOU

More Related Content

PPTX
Graphical User Interface (Gui)
PPTX
GUI Programming in JAVA (Using Netbeans) - A Review
PPT
Graphical User Interface in JAVA
PPT
GUI Programming In Java
PPT
Graphical User Interface (GUI) - 1
PDF
PPTX
GUI programming
PDF
swingbasics
Graphical User Interface (Gui)
GUI Programming in JAVA (Using Netbeans) - A Review
Graphical User Interface in JAVA
GUI Programming In Java
Graphical User Interface (GUI) - 1
GUI programming
swingbasics

What's hot (20)

PPT
Swing and Graphical User Interface in Java
PPT
Swing and AWT in java
PDF
The AWT and Swing
PPTX
GUI Programming with Java
PPT
java swing
PPTX
tL19 awt
PDF
Java GUI PART II
PDF
JAVA GUI PART I
PDF
PPT
Awt and swing in java
PPT
Java Swing JFC
PPTX
Gui in matlab :
PPTX
Chapter 1 swings
PPTX
Java- GUI- Mazenet solution
PPTX
PPTX
PPT
Java swing
PPTX
Java swing
PPTX
GUI components in Java
Swing and Graphical User Interface in Java
Swing and AWT in java
The AWT and Swing
GUI Programming with Java
java swing
tL19 awt
Java GUI PART II
JAVA GUI PART I
Awt and swing in java
Java Swing JFC
Gui in matlab :
Chapter 1 swings
Java- GUI- Mazenet solution
Java swing
Java swing
GUI components in Java
Ad

Viewers also liked (19)

PPT
Java
PDF
Lec 10 10_sept [compatibility mode]
PPT
7 Tips For Better JDeveloper Experience
PPT
Real Life Java EE Performance Tuning
PPTX
Organizaciones.dox
PDF
посольство юар Icc presentation 23 feb 2017 changed
PPTX
Martínez lópez montserrat_m1s1_identificacion de usos de las tic
PDF
O porquê da aposta da Staples no social media
XLSX
javier lasa: calculos videoweb2010 2
PPTX
2016 carpeta desayuno prueba 6 días v3
PPTX
Intellectual Property Rights- Market Failure?
PDF
Essential Habits for New Admins Webinar Series
PDF
Pengumuman jabatan lowong jpt pratama
PDF
το νέο πρόγραμμα Autoship
PPSX
A melhor escolha.
PPTX
Amikor a munkavállalód építi a cég márkáját
PPT
Infecciones asociadas a catéteres vasculares centrales - CICAT-SALUD
PDF
Java - Interfaces & Packages
Java
Lec 10 10_sept [compatibility mode]
7 Tips For Better JDeveloper Experience
Real Life Java EE Performance Tuning
Organizaciones.dox
посольство юар Icc presentation 23 feb 2017 changed
Martínez lópez montserrat_m1s1_identificacion de usos de las tic
O porquê da aposta da Staples no social media
javier lasa: calculos videoweb2010 2
2016 carpeta desayuno prueba 6 días v3
Intellectual Property Rights- Market Failure?
Essential Habits for New Admins Webinar Series
Pengumuman jabatan lowong jpt pratama
το νέο πρόγραμμα Autoship
A melhor escolha.
Amikor a munkavállalód építi a cég márkáját
Infecciones asociadas a catéteres vasculares centrales - CICAT-SALUD
Java - Interfaces & Packages
Ad

Similar to Gui in java (20)

PPT
Chapter One Java Swings GUA programming.ppt
PPT
14a-gui.ppt
PDF
28-GUI application.pptx.pdf
PPTX
Lesson1 Introduction to GUI and Java Swing Components.pptx
PDF
GUI.pdf
PPTX
Chap 1 - Introduction GUI.pptx
PDF
Getting started with GUI programming in Java_1
PPTX
ITE 1122_ AWT and SWING.pptx
PPT
Slot04 creating gui
PPT
03_GUI.ppt
PPT
Chap1 1 1
PPT
Chap1 1.1
PDF
AWT (Abstract Window Toolkit) Controls.pdf
PPTX
AWT controls, Listeners
PPTX
AWT controls, Listeners
PDF
Ch12. graphical user interfaces
PPTX
Advanced Java GUI Programming_ AWT, Swing, and Event Handling_AI PPT Maker.pptx
PPTX
Graphical User Interface
PPT
Graphic User Interface (GUI) Presentation
PPT
GUI design using JAVAFX.ppt
Chapter One Java Swings GUA programming.ppt
14a-gui.ppt
28-GUI application.pptx.pdf
Lesson1 Introduction to GUI and Java Swing Components.pptx
GUI.pdf
Chap 1 - Introduction GUI.pptx
Getting started with GUI programming in Java_1
ITE 1122_ AWT and SWING.pptx
Slot04 creating gui
03_GUI.ppt
Chap1 1 1
Chap1 1.1
AWT (Abstract Window Toolkit) Controls.pdf
AWT controls, Listeners
AWT controls, Listeners
Ch12. graphical user interfaces
Advanced Java GUI Programming_ AWT, Swing, and Event Handling_AI PPT Maker.pptx
Graphical User Interface
Graphic User Interface (GUI) Presentation
GUI design using JAVAFX.ppt

Recently uploaded (20)

PPT
EGWHermeneuticsffgggggggggggggggggggggggggggggggg.ppt
PPTX
ANATOMY OF ANTERIOR CHAMBER ANGLE AND GONIOSCOPY.pptx
PPTX
Lecturess 1 & 2_2025_edit.pptxYour score increases as you pick a category, fi...
PDF
Africa 2025 - Prospects and Challenges first edition.pdf
PPTX
Fundamental Principles of Visual Graphic Design.pptx
PDF
Facade & Landscape Lighting Techniques and Trends.pptx.pdf
PPT
Machine printing techniques and plangi dyeing
PDF
Integrated-2D-and-3D-Animation-Bridging-Dimensions-for-Impactful-Storytelling...
PPTX
iec ppt- ppt on iec pulmonary rehabilitation 1.pptx
PPTX
6- Architecture design complete (1).pptx
PPTX
areprosthodontics and orthodonticsa text.pptx
PDF
SEVA- Fashion designing-Presentation.pdf
PPTX
YV PROFILE PROJECTS PROFILE PRES. DESIGN
PDF
Benefits_of_Cast_Aluminium_Doors_Presentation.pdf
PDF
Design Thinking - Module 1 - Introduction To Design Thinking - Dr. Rohan Dasg...
PPTX
KOTA LAMA BANYUMAS.pptxxxxxxxxxxxxxxxxxxxx
DOCX
The story of the first moon landing.docx
PPTX
HPE Aruba-master-icon-library_052722.pptx
PPTX
An introduction to AI in research and reference management
PPT
unit 1 ppt.ppthhhhhhhhhhhhhhhhhhhhhhhhhh
EGWHermeneuticsffgggggggggggggggggggggggggggggggg.ppt
ANATOMY OF ANTERIOR CHAMBER ANGLE AND GONIOSCOPY.pptx
Lecturess 1 & 2_2025_edit.pptxYour score increases as you pick a category, fi...
Africa 2025 - Prospects and Challenges first edition.pdf
Fundamental Principles of Visual Graphic Design.pptx
Facade & Landscape Lighting Techniques and Trends.pptx.pdf
Machine printing techniques and plangi dyeing
Integrated-2D-and-3D-Animation-Bridging-Dimensions-for-Impactful-Storytelling...
iec ppt- ppt on iec pulmonary rehabilitation 1.pptx
6- Architecture design complete (1).pptx
areprosthodontics and orthodonticsa text.pptx
SEVA- Fashion designing-Presentation.pdf
YV PROFILE PROJECTS PROFILE PRES. DESIGN
Benefits_of_Cast_Aluminium_Doors_Presentation.pdf
Design Thinking - Module 1 - Introduction To Design Thinking - Dr. Rohan Dasg...
KOTA LAMA BANYUMAS.pptxxxxxxxxxxxxxxxxxxxx
The story of the first moon landing.docx
HPE Aruba-master-icon-library_052722.pptx
An introduction to AI in research and reference management
unit 1 ppt.ppthhhhhhhhhhhhhhhhhhhhhhhhhh

Gui in java

  • 1. GUI in Java HALDIA INSTITUTE OF TECHNOLOGY A presentation on Presented by: GAURAV RAJ Roll no: 14/CS/33 Date: 02/03/2017
  • 3.  GUI is an abbreviation for Graphical User Interface.  It is an interface that allows user to communicate with programs through graphical icons with some visual effects.  It is helpful in getting rid of those text-based interfaces used to perform various tasks. Definition
  • 4. An example of text-based interface An example of GUI • Choosing Windows over other operating systems is a result of better GUI provided by the respective company. Text – based interface Vs GUI
  • 6. Terms in GUI  User interface components  Content Pane  Frame  Layout Manager  Panel  Event - Driven programming
  • 7. Layout Manager Flow Layout Border Layout Grid layout  Flow Layout: The position of components depends on dimensions of the content pane.  Border Layout: Directions like north, south, west and east as well as center are used to position various components on a pane.  Grid Layout: ‘m’ number of components are divided into ‘n’ number of rows making their positions fixed till there is no change in ‘m’ or ‘n’.
  • 8. The position of components will change on any change in dimensions of the frame Here positions of components are fixed in various directions and at center. Here 6 components (3 labels and 3 text- fields) are divided into 3 rows and 2 columns thus making their positions fixed.
  • 9. Various components Frame Buttons Panel 1 Panel 2 Button Panel Label Text Field
  • 10. Graphics  Whenever a component is added to a frame, an instance of ‘Graphics’ class is automatically created.  It is the graphics object that invokes paintComponent( ) method to draw the components on the panel.  A graphics object is like a pencil or a paintbrush which is responsible for drawing. Event – Driven Programming  Actions to be taken after clicking a mouse button, pressing a keyboard button, or dragging a mouse come under this category.  There are various interfaces known as listeners defined for various button operations.  Implementation of these listeners decides actions to be taken on those button operations.
  • 11. Conclusion  Definition of GUI  Applications of GUI  Various components of GUI  Various terminologies  Graphics & Event – Driven programming