GUI application part – 1
.......... Welcome ........
 GUI is the Acronym for Graphical User Interface.
 The Interface that allows users to interact with electronic devices,such as Computers,
Laptop, Smartphone and Tablets through graphical element.
 It’s valuable part of Software application programming in regards to human computer
interaction,replacing text based commands with friendly action.
 It’s goal to present the user with decision points that are easy to find,understand and
use.
 GUI lets you control your device with a mouse, pen or even your finger.
GUI – Graphical User Interface
GUI – Graphical User Interface --con...
 GUI was created because text command-line Interface were complicated and difficult
to learn
 But , the GUI process lets you click or point to small picture,known as icon
 And open comment on your devices,such as tabs,buttons,scroll
bars,menus,pointers,and windows.
 It’s know as the standard for user - centered design in software application
programming
 Program that use of GUI are know as ”GUI program”
 GUI provides four elements
 Input controls [Button,Checkbox,Date picker,Dropdown li,List boxes,Text bx,Tog]
 Navigational components [Breadcrub,Icons,Image,pagination,search,slider,tags]
 Informational components [Msg box,Notification,pop-up,progress bar,Tool tips]
 Containers [ Accordions]
Benefits of GUI
1. Easy to use
2. Easy to communicate
3. Attractive
4. Provides shortcuts
5. Allows for multitasking
CREATE WINDOW USING APPLET
CREATE WINDOW USING APPLET con...
...CREATING WINDOWS...
 Step 1: download support file in “java jdk8 ”in online portal
 and install it in your pc or laptop
 Step 2: Next set path for appletviewer in your pc or laptop
 Step 3:write a applet code in notepad (img in 6 slide)
 Step 4: Then write HTML code for display output in GUI format
 (img in 7 slide)
 Step 5: usually way for compile the applet program in CMD
 javac <java_source_file_name>.java (img in 8 slide)
 Step 6: To run the applet program using the commend
 appletviewer <html_source_file_name>.html (img in 9 slide)
 .......................................Finally we get output form GUI form.....................................
APPLET CODE IN NOTEPAD
HTML CODE IN NOTEPAD
COMPILE APPLET COD IN CMD
RUN APPLET CODE IN CMD
....OUTPUT IN GUI FORMAT....
DIALOG BOXES`
 The Dialog control represent a top level windows with border and a title used to
take some form input from the user.
 It inherit the windows class
 syntax:
 public class dialog extends Windows
 To search website to get the dialog box
 code and you can practise your self
 Ref: https://www.javatpoint.com/java-awt-dialog
Output like :
LAYOUT MANAGERS
 The Layout managers are used to arrange components in a particular
manner.
 The java Layout Managers facilities us to control the positioning and
size of the components in GUI forms.
 Layout managers is an interface that is implemented by all the
classes of layout managers
 output be like:
LAYOUT MANAGERS con....
 Ref :https://www.javatpoint.com/java-layout-manager
 Java layout managers provide 9 classes
 Java.awt.BorderLayout
 Java.awt.FlowLayout
 Java.awt.GridLayout
 Java.awt.CardLayout
 Javax.swing.BoxLayout
 Javax.swing.GroupLayout
 Javax.swing.ScrollPanelLayout
 Javax.swing.SpringLayout. Etc,
 ......To search java layout manager program in website practise your self....
AWT COMPONENT CLASSES
 The AWT provide nine basic non-continer component classes
form a user interface may be constructed
 These nine classes are class button,canvas,checkbox,choice,
label,etc,.
 Ref:
 https://www.edureka.co/blog/java-awt-tutorial/
SWING COMPONENT CLASSES
 SWING is java foundation classes and an exstension of the
abstract window toolkit swing offers much improved function
 They have new component, expanded components,features
excellent handling ,with drag and drop support
 Refer :
 https://www.geeksforgeeks.org/introduction-to-java-swing/
CONCLUSION
 OVERVIEW
 GUI (Graphical user interface)
 Creating windows
 Dialog boxes
 Layout mangers
 AWT component classes
 Swing component classes
 ........................................THANK YOU.....................................

GUI_part_1.pptx

  • 1.
    GUI application part– 1 .......... Welcome ........
  • 2.
     GUI isthe Acronym for Graphical User Interface.  The Interface that allows users to interact with electronic devices,such as Computers, Laptop, Smartphone and Tablets through graphical element.  It’s valuable part of Software application programming in regards to human computer interaction,replacing text based commands with friendly action.  It’s goal to present the user with decision points that are easy to find,understand and use.  GUI lets you control your device with a mouse, pen or even your finger. GUI – Graphical User Interface
  • 3.
    GUI – GraphicalUser Interface --con...  GUI was created because text command-line Interface were complicated and difficult to learn  But , the GUI process lets you click or point to small picture,known as icon  And open comment on your devices,such as tabs,buttons,scroll bars,menus,pointers,and windows.  It’s know as the standard for user - centered design in software application programming  Program that use of GUI are know as ”GUI program”  GUI provides four elements  Input controls [Button,Checkbox,Date picker,Dropdown li,List boxes,Text bx,Tog]  Navigational components [Breadcrub,Icons,Image,pagination,search,slider,tags]  Informational components [Msg box,Notification,pop-up,progress bar,Tool tips]  Containers [ Accordions]
  • 4.
    Benefits of GUI 1.Easy to use 2. Easy to communicate 3. Attractive 4. Provides shortcuts 5. Allows for multitasking
  • 5.
  • 6.
    CREATE WINDOW USINGAPPLET con...
  • 7.
    ...CREATING WINDOWS...  Step1: download support file in “java jdk8 ”in online portal  and install it in your pc or laptop  Step 2: Next set path for appletviewer in your pc or laptop  Step 3:write a applet code in notepad (img in 6 slide)  Step 4: Then write HTML code for display output in GUI format  (img in 7 slide)  Step 5: usually way for compile the applet program in CMD  javac <java_source_file_name>.java (img in 8 slide)  Step 6: To run the applet program using the commend  appletviewer <html_source_file_name>.html (img in 9 slide)  .......................................Finally we get output form GUI form.....................................
  • 8.
  • 9.
    HTML CODE INNOTEPAD
  • 10.
  • 11.
  • 12.
  • 13.
    DIALOG BOXES`  TheDialog control represent a top level windows with border and a title used to take some form input from the user.  It inherit the windows class  syntax:  public class dialog extends Windows  To search website to get the dialog box  code and you can practise your self  Ref: https://www.javatpoint.com/java-awt-dialog Output like :
  • 14.
    LAYOUT MANAGERS  TheLayout managers are used to arrange components in a particular manner.  The java Layout Managers facilities us to control the positioning and size of the components in GUI forms.  Layout managers is an interface that is implemented by all the classes of layout managers  output be like:
  • 15.
    LAYOUT MANAGERS con.... Ref :https://www.javatpoint.com/java-layout-manager  Java layout managers provide 9 classes  Java.awt.BorderLayout  Java.awt.FlowLayout  Java.awt.GridLayout  Java.awt.CardLayout  Javax.swing.BoxLayout  Javax.swing.GroupLayout  Javax.swing.ScrollPanelLayout  Javax.swing.SpringLayout. Etc,  ......To search java layout manager program in website practise your self....
  • 16.
    AWT COMPONENT CLASSES The AWT provide nine basic non-continer component classes form a user interface may be constructed  These nine classes are class button,canvas,checkbox,choice, label,etc,.  Ref:  https://www.edureka.co/blog/java-awt-tutorial/
  • 17.
    SWING COMPONENT CLASSES SWING is java foundation classes and an exstension of the abstract window toolkit swing offers much improved function  They have new component, expanded components,features excellent handling ,with drag and drop support  Refer :  https://www.geeksforgeeks.org/introduction-to-java-swing/
  • 18.
    CONCLUSION  OVERVIEW  GUI(Graphical user interface)  Creating windows  Dialog boxes  Layout mangers  AWT component classes  Swing component classes  ........................................THANK YOU.....................................