Building Memory… Day 4 – November 20, 2006. Some clean up from last time Applet class can now be run as either an Applet or an Application Made picture.

Slides:



Advertisements
Similar presentations
Create and use your own Electronic Business Card Create and send a simple business card Traditional paper business cards have been around for a long time.
Advertisements

Learn about Java applets. Know the differences between Java applets and applications. Designing and using Java applets Running Java applets. Security.
User Guide and Trouble-shooting Information. A classroom set of 20 cameras are available for teacher and student use. Capable of taking video, but recommend.
Building Memory… Day 5 – November 27, Need to flip cards Create a remove method to remove from drawing canvas Call a show method to show on the.
Inheritance, Shared. Projectiles Program Demonstrates – Inheritance – MustInherit – Shared vs. Non-shared methods A variation on the Multiball example.
Building Memory… Day 3 – November 17, Two options to make Game graphical Game should extend some graphical component to allow us to put it on the.
Building Memory… Notes from class on 4/4/07. The Game First understand what we are trying to build. Then, create a list of requirements/functionality.
Building Memory… Notes from class on 11/13/06. The Game Think about what types of objects we will need in our system and some of the properties and capabilities.
Building Memory… Day 7 – April 18, Mouse Listener Attached listeners to each card (but the back image only) When click event is generated, simply.
Building Memory… Day 2 – November 15, What do we want the game to look like? Window to appear Start game button Difficulty level selection Number.
Basics of Graphing For TI-83 Plus Users. When graphing equations on a TI-83 Plus there are three screens that are very useful to know: The Y= screen The.
Building Memory… Day 5 – April 13, Cards on Screen How can we arrange cards in a row/column manner? Use the Position class to help us translate.
Tests & Results In ZIMS. Request Test From Record There are two ways to request tests on your samples. The first is from within the animal medical.
Photography Workshop 1. Putting photos onto the PC with a digital camera 2. Downloading pictures 3. Saving Pictures – in a file or online 4. Picture .
Removing White Backgrounds Using Adobe Fireworks.
How to annotate an X-ray in the client file PURPOSE - To mark up x-rays or other images after they are loaded to the client file PREREQUISITES - Basic.
P6 - CONFIGURE THE SOFTWARE. CONFIGURE SOFTWARE Most software can be configured to suit an individual user, for example by changing the appearance of.
Entire contents of this document copyright Serendipity Consulting Pty Ltd A.C.N and Systems Unlimited 1 Installation 2. Create Shortcut Icon.
Multiple Forms, Container Controls, AddHandler This presentation is based on the Forms and ContainerControls VB Projects 1.
Java Software Solutions Lewis and Loftus Chapter 10 1 Copyright 1997 by John Lewis and William Loftus. All rights reserved. Graphical User Interfaces --
Display Ratios The Student Union displays have ratios of 16:9 Most computer displays have ratios of 4:3 This often distorts graphics when they are changed.
Macromedia Dreamweaver 4.0 INTERFACE This presentation will run automatically.
Hello My Name Is… Introductory Presentation. Opening Activity Think about the following: 1.When you are feeling sad, how do you act? 2.How would someone.
February 10, 2011 Computer Science Mr. Verlin Web Design.
Microsoft ® Access ® 2010 Training Create Queries for a New Database If a yellow security bar appears at the top of the screen in PowerPoint, click Enable.
Execute Workflow. Home page To execute a workflow navigate to My Workflows Page.
Computer Science 112 Fundamentals of Programming II Graphics Programming.
Surveys UAS IT Helpdesk Creating and Posting By, Michaela – Student Assistant.
Lesson 34: Layering Images with Java GUI. The FlowLayout RECAP.
Ch 3-4: GUI Basics Java Software Solutions Foundations of Program Design Sixth Edition by Lewis & Loftus Coming up: GUI Components.
Field Trip #19 Animations with Java By Keith Lynn.
Change in your CAD Project File - it happens all the time in robotics.
Renee Sammet. What Is Psykopaint.com? Psychopaint.com is a website that facilitates abstract photo editing. It is extremely user friendly and fast.
Introduction to Java Beans CIS 421 Web-based Java Programming.
The Abstract Window Toolkit (AWT) supports Graphical User Interface (GUI) programming. AWT features include: a rich set of user interface components; a.
Chapter2: Drawing a Window. Review: Introducing MFC.
MOUNTING PHOTOS FOR STATE FAIR
Java Object Oriented Programming Encapsulation, Inheritance, Polymorphism (Java: An Eventful Approach - Ch. 17, 21.7), Slides Credit: Bruce, Danyluk and.
Test 2 Review. General Info. All tests are comprehensive. You are still responsible for the material covered prior to the first exam. You will be tested.
Web Publication PUBLISHER Objectives: Building Blocks Captions Publication properties web publications Printing setting Design Checker.
Chapter 3 I Need a Tour Guide (Introduction to Visual Basic 2010) Clearly Visual Basic: Programming with Visual Basic nd Edition.
Constructors A constructor is a method that has the same name as the class itself It is automatically called when an object is instantiated (in other words,
Container Classes. How do we do better? Tough to delete correctly: startLocation.
12-Jun-16 Event loops. 2 Programming in prehistoric times Earliest programs were all “batch” processing There was no interaction with the user Input Output.
Creating an Object that can draw itself The paint method can ‘draw’ because it is passed a graphics environment as a parameter. If a class method is passed.
Texas Skyward User Group Conference Helpful Hints Jennifer Speulda.
Unit 7 P2 P2 explain potential risks to consider when installing
How clicker 5 is used within the MLD department Jennifer Royle.
Placing an Order for Premier Dealer through User’s Budget
How to Add pictures to Canvas discussion
Event loops 16-Jun-18.
The Object-Oriented Thought Process Chapter 09
What is the average rate of change of the function f (x) = 8 x - 7 between x = 6 and x = 7? Select the correct answer:
Chap 7. Building Java Graphical User Interfaces
USER REGISTERING WHY IS THE USER SIGN UP FUNCTION BLOCKED?
Graphical User Interfaces -- Introduction
Find the domain of the function: {image} .
CSCI 1260 – Lecture 2: Instantiation, Aggregation, and Composition
Event loops.
Find the inflection points of the following function: f ( x ) = -7 x sin x {image} {image}
Event loops 17-Jan-19.
Event loops 17-Jan-19.
Which of the following graphs corresponds to the inequality {image} ?
Event loops 8-Apr-19.
Building Memory… Day 3 – April 9, 2007.
February , 2009 CSE 113 B.
Multiple Choice Quiz.
Event loops.
Event loops 19-Aug-19.
Presentation transcript:

Building Memory… Day 4 – November 20, 2006

Some clean up from last time Applet class can now be run as either an Applet or an Application Made picture from card appear (needed to set its Dimension) Also needed to set the Dimension of the DrawingCanvas

We want to flip! Changed card to take in a DrawingCanvas as a parameter to the constructor and the card puts itself on the canvas

Card Has a state It is either face up or face down Starts face down

Card States Are composed of the image that they should display when a card is in that state. Creating an instance of a card state causes the correct picture to be displayed.

Flip! Need to add a mouse listener to the images to get them to respond correctly to the user’s desire for the cards to flip.

What should a card do when flipped? The old image should be removed from the canvas The card should change state The new image should be placed on the canvas

Open issues There are lots, but one that came up during class: –Taking care of multiple cards on the screen We need to be able to independently place each card Perhaps that info needs to be a parameter