GUI Test Information.

Slides:



Advertisements
Similar presentations
Java GUI building with the AWT. AWT (Abstract Window Toolkit) Present in all Java implementations Described in (almost) every Java textbook Adequate for.
Advertisements

Graphical User Interfaces
Java Software Development Paradigm Lecture # 12. Basics of GUI.
Graphic User Interfaces Layout Managers Event Handling.
Fall 2007CS 225 Graphical User Interfaces Event Handling Appendix C.
C HAPTER 12 A Very Graphic Story. O VERVIEW Simple GUI Getting User Input Creating a Listener ActionEvents Displaying Graphics Drawing Multiple Buttons.
Slides prepared by Rose Williams, Binghamton University Chapter 17 Swing I.
Slides prepared by Rose Williams, Binghamton University Chapter 17 Swing I.
Programming Introduction November 9 Unit 7. What is Programming? Besides being a huge industry? Programming is the process used to write computer programs.
1 CMSC 132: Object-Oriented Programming II Nelson Padua-Perez William Pugh Department of Computer Science University of Maryland, College Park.
GUI Basics: Introduction. Creating GUI Objects // Create a button with text OK JButton jbtOK = new JButton("OK"); // Create a label with text "Enter your.
Transparency 2 Click the mouse button or press the Space Bar to display the answers.
Java Programming Chapter 10 Graphical User Interfaces.
Variables and Expressions Order of Operations Real Numbers and the Number Line Objective: To solve problems by using the order of operations.
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.
Inverse Operations ExpressionInverse Operation How do you get the variable by itself? x + 5 x x x ÷ 20 x3x3.
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.
Module 3 Fraser High School. Module 3 – Loops and Booleans import statements - random use the random.randint() function use while loop write conditional.
Graphics and Event-Driven Programming in Java John C. Ramirez Department of Computer Science University of Pittsburgh.
Programming with Visual C++: Concepts and Projects Chapter 2B: Reading, Processing and Displaying Data (Tutorial)
Object Oriented programming Instructor: Dr. Essam H. Houssein.
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.
CS Fall 2012, Lab 09 Haohan Zhu. Boston University Slideshow Title Goes Here CS Fall 2012, Lab /20/2015 GUI - Graphical User Interface.
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.
Lec.10 (Chapter 8 & 9) GUI Jiang (Jen) ZHENG June 27 th, 2005.
The Abstract Window Toolkit (AWT) supports Graphical User Interface (GUI) programming. AWT features include: a rich set of user interface components; a.
SEEM3460 Tutorial GUI in Java. Some Basic GUI Terms Component (Control in some languages) the basic GUI unit something visible something that user can.
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.
Ajmer Singh PGT(IP) JAVA IDE Programming - I. Ajmer Singh PGT(IP) GUI (Graphical User Interface) It is an interface that uses a graphic entities along.
Graphical User Interfaces Tonga Institute of Higher Education.
Arithmetic Operators. Operators In Programming Most computer programming languages use the following symbols for their operators: +  add -  subtract.
Slides prepared by Rose Williams, Binghamton University ICS201 Lecture 15 : Swing III King Fahd University of Petroleum & Minerals College of Computer.
I’m Thinking of a Number
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.
Describing a Pattern Lesson 2-1. Patterns and sequences We often need to spot a pattern in order to predict what will happen next. In maths, the correct.
Applets. 9/04/2005 Copyright 2005, by the authors of these slides, and Ateneo de Manila University. All rights reserved L12: Applets Slide 2 Applets Usually.
Clicker quiz 11/5/13 CSE 1102 Fall A. a FlowLayout B. a BorderLayout C. a GridGrouping D. a JSplitPane E. a GridLayout Suppose we want to to lay.
Java Programming Fifth Edition Chapter 13 Introduction to Swing Components.
A Quick Java Swing Tutorial
Maths in SmallBasic Learning Objectives
Week of 12/12/16 Test Review.
“Form Ever Follows Function” Louis Henri Sullivan
Unit 4: Coordinate Geometry
Modern Programming Language Java
Graphical User Interface (pronounced "gooey")
Ellen Walker Hiram College
25 GUI Example.
Multiplying and Dividing Powers
Imaginary Numbers.
Containers and Components
תכנות מכוון עצמים בשפת JAVA
Chapter 3.
Chapter (3) - Looping Questions.
Problem Solving Skill Area 305.1
Writing Functions( ) (Part 4)
Divide the number in C by 10.
Steps to Creating a GUI Interface
Add, Subtract, Divide and Multiply Integers
Chapter 1 Math Test Review
The first number is posted telling what random number was selected, I did this for testing purposes, in the real thing it would not be there. Since the.
Zhen Jiang West Chester University
Programming In Lesson 4.
Another Example Problem
Hint idea 2 Split into shorter tasks like this.
TA: Nouf Al-Harbi NoufNaief.net :::
Presentation transcript:

GUI Test Information

Outline One programming problem – written using BlueJ. Printing code when finished but also executing the program. You will only need to use one class but code should be well organized with appropriately named variables. Comments describing methods and variables will be required.

GUI components Layout Managers: FlowLayout, GridLayout, BorderLayout Components: Panel, Button, Label, Textbox

Reference Card Hand written  It should contain information around the creation of a JFrame, Layout Managers, Action Listeners and Swing Components. Import statements? What else???

AP students Your question will contain some math operations possibly including: - add, subtract, multiply, divide - squaring, square rooting - absolute value

Practice Problem: Guess My Number Set up the Window with panels using BorderLayout (using Labels, Textboxes, and Buttons) Rules: Computer generates a random number between 1 – 100. User guesses by entering a value into a textbox Computer gives feedback like: “Too high” “Too low” or “You got it!” GUI also contains a “Play Again?” button. Bonus: Add in feedback like: “You’re getting warmer” , etc. depending on how far off the guess is from the actual number