Zhen Jiang West Chester University

Slides:



Advertisements
Similar presentations
Graphical User Interfaces (Part IV)
Advertisements

Unit 3 Graphical User Interface (GUI) Dr. Magdi AMER.
CS221 © 2007 Ray S. Babcock Layout, Components, & Data Entry Appendix C.3-C.5.
Mark Dixon Page 1 04 – Database Design: Forms. Mark Dixon Page 2 Session Aims & Objectives Aims –To allow easier data entry using forms Objectives, by.
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Adrian Ilie COMP 14 Introduction to Programming Adrian Ilie July 20, 2005.
Slides prepared by Rose Williams, Binghamton University Chapter 17 Swing I.
You have just been given a CD that contains MapInfo format data layers of parcels, streets, and target zones. Your supervisor asks you to take a look at.
Slides prepared by Rose Williams, Binghamton University Chapter 17 Swing I.
Lecture 15 Graphical User Interfaces (GUI’s). Objectives Provide a general set of concepts for GUI’s Layout manager GUI components GUI Design Guidelines.
COMP 14 Introduction to Programming Miguel A. Otaduy June 7, 2004.
1 CMSC 132: Object-Oriented Programming II Nelson Padua-Perez William Pugh Department of Computer Science University of Maryland, College Park.
Summer Training on Computer Science, WCU Summer Training on Computer Science Zhen Jiang Department of Computer Science West Chester University.
Chapter 13: Advanced GUIs and Graphics J ava P rogramming: From Problem Analysis to Program Design, From Problem Analysis to Program Design, Second Edition.
Introduction to Visual Basic Chulantha Kulasekere.
GUI Basics: Introduction. Creating GUI Objects // Create a button with text OK JButton jbtOK = new JButton("OK"); // Create a label with text "Enter your.
Zhen Jiang Dept. of Computer Science West Chester University West Chester, PA CSC141 Computer Science I.
Chapter 13 Advanced GUIs and Graphics. Chapter Objectives Learn about applets Explore the class Graphics Learn about the class Font Explore the class.
An Introduction to Visual Basic
Department of Mechanical Engineering, LSUSession VII MATLAB Tutorials Session VIII Graphical User Interface using MATLAB Rajeev Madazhy
Java Programming: From Problem Analysis to Program Design, 4e Chapter 12 Advanced GUIs and Graphics.
Applets and Frames CS 21a: Introduction to Computing I First Semester,
Introduction to GUI in Java 1. Graphical User Interface Java is equipped with many powerful,easy to use GUI component such as input and output dialog.
Chapter 8: Writing Graphical User Interfaces Visual Basic.NET Programming: From Problem Analysis to Program Design.
3461A Readings from the Swing Tutorial. 3461A Overview  The follow is the Table of Contents from the trail “Creating a GUI with JFC/Swing” in the “The.
Chapter 2 - More Controls More controls – Text boxes - used for user input – Frames - containers to group items – check boxes - user select an option -
1 Outline 1 Introduction 2 Overview of Swing Components 3 JLabel 4 Event Handling 5 TextFields 6 How Event Handling Works 7 JButton 8 JCheckBox and JRadioButton.
Graphics and Event-Driven Programming in Java John C. Ramirez Department of Computer Science University of Pittsburgh.
CSC 142 Computer Science II Zhen Jiang West Chester University
Applets and Frames. Copyright 2005, by the authors of these slides, and Ateneo de Manila University. All rights reserved L14: GUI Slide 2 Applets Usually.
GUI Basics. What is GUI? A graphical user interface (GUI) is a type of user interface item that allows people to interact with programs in more ways than.
1 / 67 COP 3503 FALL 2012 SHAYAN JAVED LECTURE 14 Programming Fundamentals using Java 1.
CS324e - Elements of Graphics and Visualization Java GUIs - Event Handling.
The Abstract Window Toolkit (AWT) supports Graphical User Interface (GUI) programming. AWT features include: a rich set of user interface components; a.
CSC115 Introduction to Computer Programming Zhen Jiang Dept. of Computer Science West Chester University West Chester, PA 19383
SEEM3460 Tutorial GUI in Java. Some Basic GUI Terms Component (Control in some languages) the basic GUI unit something visible something that user can.
GUI Basics. Agenda What GUI How to make in java Creating frames Frequently used GUI components Layout Managers.
Slides prepared by Rose Williams, Binghamton University ICS201 Lecture 14 : Swing II King Fahd University of Petroleum & Minerals College of Computer Science.
1 Chapter 16: Creating Windows. 2 Basics of GUI Programming How to create a Window. TryWindow.java You always need a JFrame component before creating.
Graphical User Interfaces Tonga Institute of Higher Education.
Slides prepared by Rose Williams, Binghamton University ICS201 Lecture 15 : Swing III King Fahd University of Petroleum & Minerals College of Computer.
Time Sequence Diagram Dr. Zhen Jiang West Chester University url:
Chapter 10 - Writing Graphical User Interfaces1 Chapter 10 Writing Graphical User Interfaces.
Graphical User Interface (GUI)
User Interface Components. Layout Placement of UI components in a window – Size & Position Each component occupies a rectangular region in the window.
MATLAB and SimulinkLecture 61 To days Outline Graphical User Interface (GUI) Exercise on this days topics.
Zhen Jiang Dept. of Computer Science West Chester University West Chester, PA CSC141 Computer Science I.
Introduction to GUI in 1 Graphical User Interface 3 Nouf Almunyif.
Introduction to GUI Programming in Java: Frames, Simple Components, and Layouts.
CIS 270—Application Development II Chapter 11—GUI Components: Part I.
Introduction to Swing Mr. Crone. What is Swing? a collection of pre-made Java classes used to create a modern graphical user interface.
Christopher Budo, Davis Nygren, spencer franks, Luke miller
Chapter Topics 15.1 Graphical User Interfaces
Chapter 8: Writing Graphical User Interfaces
Tim McKenna Layout Mangers in Java Tim McKenna
© 2010, Mike Murach & Associates, Inc.
CSC141 Computer Science I Zhen Jiang Dept. of Computer Science
Chapter 13: Advanced GUIs and Graphics
Loop Development Zhen Jiang Dept. of Computer Science
Containers and Components
תכנות מכוון עצמים בשפת JAVA
Tim McKenna Layout Mangers in Java Tim McKenna
CSC115 Introduction to Computer Programming
CSC141 Computer Science I Zhen Jiang Dept. of Computer Science
CSC530 Data Structure - Decision
Zhen Jiang West Chester University
Graphical User Interface
GUI Test Information.
Advanced GUIs and Graphics
TA: Nouf Al-Harbi NoufNaief.net :::
TA: Nouf Al-Harbi NoufNaief.net :::
Presentation transcript:

Zhen Jiang West Chester University zjiang@wcupa.edu Introduction to GUI Zhen Jiang West Chester University zjiang@wcupa.edu

Outline Basic items Advanced techniques Exercises

Basic Items Windows (Code 12-1, p759) JFrame (Code 12-4, p763) Basic components (code 12-5, p766) Label Text field Button Event (Code 12-6, p773) Sample (http://www.cs.wcupa.edu/~zjiang/csc142review1.java)

Advanced Techniques Multiple events (Code 12-8, p783) Layouts (table 12-5, p766) Flowlayout (code 12-9, p788) BorderLayout (code 12-10, p792, sample) GridLayout (code 12-12, p799) GridPanel (code 12-13, p801) Buttons Radio button (code 12-14, p806) Check box (code 12-15, p812) Color (code 12-7, p779) File System (See the discussion on slides 35-38 in http://www.cs.wcupa.edu/~zjiang/csc141c.ppt )

Complex sample (code 12-16, p819) More details available at http://www.cs.wcupa.edu/~zjiang/csc142_java_sample.htm. Group project