MAHARISHI INTERNATIONAL UNIVERSITY 1971-1995 M AHARISHI U NIVERSITY of M ANAGEMENT Engaging the Managing Intelligence of Nature.

Slides:



Advertisements
Similar presentations
Scientific Research Showing Reductions in Medical Expenses from Transcendental Meditation Practice and Maharishi Vedic Approach to Health By Robert E.
Advertisements

Searching Through Time Software patents pending. ™ Trademarks of SLICCWARE Corporation All rights reserved. SM Service Mark of SLICCWARE Corporation All.
Event Handling.
Computer Science 209 Graphics and GUIs. Working with Color The class java.awt.Color includes constants for typical color values and also supports the.
Inner Classes in Java CMSC 432 Shon Vick. 2 Conceptual Structure package p 1 class A 1 class A 2... class A n... package n class A 1 class A 2... class.
Mouse Events and Keyboard Events
Event Handling Events and Listeners Timers and Animation.
MAHARISHI INTERNATIONAL UNIVERSITY M AHARISHI U NIVERSITY of M ANAGEMENT Engaging the Managing Intelligence of Nature.
MAHARISHI INTERNATIONAL UNIVERSITY M AHARISHI U NIVERSITY of M ANAGEMENT Engaging the Managing Intelligence of Nature.
Graphics Programming with Inheritance Template pattern (Chap 6, se SceneEditor)
MAHARISHI INTERNATIONAL UNIVERSITY M AHARISHI U NIVERSITY of M ANAGEMENT Engaging the Managing Intelligence of Nature.
MAHARISHI INTERNATIONAL UNIVERSITY M AHARISHI U NIVERSITY of M ANAGEMENT Engaging the Managing Intelligence of Nature.
MAHARISHI INTERNATIONAL UNIVERSITY M AHARISHI U NIVERSITY of M ANAGEMENT Engaging the Managing Intelligence of Nature.
GUI Event Handling Nithya Raman. What is an Event? GUI components communicate with the rest of the applications through events. The source of an event.
Event Handling in Java CSE Software Engineering Spring 2000 By Prasad.
CLONE STAMP AND HEALING BRUSH. CLONE STAMP The Clone Stamp tool simply is a photoshop tool used to duplicate images. It’s used when you want to duplicate.
Selecting Results Using Attribute Logic Software patents pending. ™ Trademarks of SLICCWARE Corporation All rights reserved. SM Service Mark of SLICCWARE.
Mouse Events. Handling Mouse Events Java provides two listener interfaces to handle mouse events: MouseListener;  MouseListener;  MouseMotionListener.
© opyright for Students and Educators 2011 NOTE: This presentation is for information only and is not intended as legal advice. For legal advice, please.
BRANDING AND PACKAGING. BRAND Name, term, design or symbol that identifies a business and its products Connotates quality and reliability IMPORTANCE OF.
Cs884(Prasad)java12AWT1 Abstract Windowing Toolkit Support for Graphical User Interface (Event-driven programming)
Java GUI’s are event driven, meaning they generate events when the user interacts with the program. Typical events are moving the mouse, clicking a mouse.
Copyright © 2014 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
Graphic User Interface. Graphic User Interface (GUI) Most of us interact with computers using GUIs. GUIs are visual representations of the actions you.
Copyright © 2002, Systems and Computer Engineering, Carleton University b-Gui2.ppt * Object-Oriented Software Development Part 18-b Building.
COMP 321 Week 2. Outline Event-Driven Programming Events, Event Sources, Event Listeners Button and Timer Events Mouse Events, Adapters.
CSE 219 Computer Science III Image Manipulation. HW 1 Has been posted on Blackboard Making a Game of Life with limited.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 21.1 Test-Driving the Painter Application.
Programming for Interactivity Professor Bill Tomlinson Tuesday & Wednesday 6:00-7:50pm Fall 2005.
Event Handling. 2 GUIs are event driven –Generate events when user interacts with GUI e.g., moving mouse, pressing button, typing in text field, etc.
Introduction to Java Programming
Understand the difference between applets and applications Identify meaningful applet resources for academic subjects Create and demonstrate a basic Java.
© Marty Hall, Larry Brown Web core programming 1 Handling Mouse and Keyboard Events.
1/14 多媒體安全作業 - Paint Brush 指導教授 :黃文楨 老師 報告人 : 楊棋閔 劉秉昕 沈福財.
Introduction to Microsoft Word 2010 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.Creative Commons.
Mouse Listeners Moving the mouse will also generate events like the Timer –To have your program respond, you must implement either or both of MouseListener.
Scientific Research on the Impact of Transcendental Meditation ® Program and the Maharishi Vedic Approach to Health on Medical Expenses By Robert E. Herron,
VMware View 4.5: Install, Configure, Manage Lab Guide L3162C-001.
CS Lecture 04 Mice Lynda Thomas
How to create with the Photoshop Stamp tool?. The Photoshop Stamp Tool Allows you to create new visual elements inside of an image Has Two Tool Options.
1 Event Handling – Lecture 4 Prepared by: Ahmad Ramin Rahimee Assistant Professor ICTI.
MT311 Java Application Development and Programming Languages Li Tak Sing ( 李德成 )
EVENT-DRIVEN PROGRAMMING Subject:T0934 / Multimedia Programming Foundation Session:2 Tahun:2009 Versi:1/0.
Event Listeners ActionListener –button,list AdjustmentListener-scroll bar ComponentListener-when component hidden…. ContainerListener-comp added or removed.
CSI 3125, Preliminaries, page 1 Event Handling. CSI 3125, Preliminaries, page 2 Event Handling An Event Change in the state of an object is known as event.
Mouse Events GUI. Types of Events  Below, are some of the many kinds of events, swing components generate. Act causing EventListener Type User clicks.
TENTH LECTURE Event and listener. Events and Listeners An event can be defined as a type of signal to the program that something has happened. The event.
10/20/2005week71 Graphics, mouse and mouse motion events, KeyEvent Agenda Classes in AWT for graphics Example java programs –Graphics –Mouse events –Mouse.
Events and Event Handling
CS 241 – Computer Programming II Lab
MS Paint A simple drawing tool that can be used to create simple or elaborate drawings. These drawings can be either black-and-white or color, and can.
Lecture 8 Object Oriented Programming Using Java
Chapter 12 Event-Driven Programming
Computer Science 209 Graphics and GUIs.
GUI III IS
Copyright © 2017 Lauren Anderson
Programming in Java Event Handling
Quick intro to Event Driven Programming
GUI Event Handling Nithya Raman.
GUI Programming III: Events
CSE Software Engineering Fall 1999 Updated by J. Brown
Drawing Two-Dimensional Shapes with Digital Technology
GUI Programming using Java - Mouse Events
Web Design & Development Lecture 12
European Computer Driving Licence
A few tricks to take you beyond the basics of Microsoft Office
PRO-DESKTOP TUTORIAL 2. Use Shift+w to have the workplane facing you.
Final project.
Trademark, Copyright, And Patents | Get physical and paper proof
I. Lab Notebooks.
Presentation transcript:

MAHARISHI INTERNATIONAL UNIVERSITY M AHARISHI U NIVERSITY of M ANAGEMENT Engaging the Managing Intelligence of Nature

Lab 1: Strategy pattern

Strategy lab

public class ScribbleCanvasListener implements MouseListener, MouseMotionListener { public void mousePressed(MouseEvent e) { switch (drawframe.getCurrentTool()){ case 0: // handle mouse pressed for scribble tool case 1: // handle mouse pressed for line tool case 2:// handle mouse pressed for rectangle tool case 3:// handle mouse pressed for oval tool case 4:// handle mouse pressed for eraser tool } public void mouseReleased(MouseEvent e) { switch (drawframe.getCurrentTool()){ case 0: // handle mouse released for scribble tool case 1:// handle mouse released for line tool case 2:// handle mouse released for rectangle tool case 3:// handle mouse released for oval tool case 4:// handle mouse released for eraser tool } public void mouseDragged(MouseEvent e) { switch (drawframe.getCurrentTool()){ case 0: // handle mouse dragged for scribble tool case 1:// handle mouse dragged for line tool case 2:// handle mouse dragged for rectangle tool case 3:// handle mouse dragged for oval tool case 4:// handle mouse dragged for eraser tool }

Strategy lab

© 2000 Maharishi University of Management, Fairfield, Iowa, USA This tape may not be copied, duplicated, or distributed without written consent from Maharishi University of Management, Fairfield, Iowa, USA.

® Science of Creative Intelligence is a service mark registered in the United States Patent and Trademark Office, licensed to Maharishi Vedic Education Development Corporation, and is used under sublicense.