Event Driven Programming

Size: px
Start display at page:

Download "Event Driven Programming"

Transcription

1 Event Driven Programming Part 3 Event Handling Chapter 12 CS 2334 University of Oklahoma Brian F. Veale 1

2 Events All interaction with a GUI program is through events Mouse clicks Button presses Text Entry Menu selection 2

3 Event Handling By default, some components appear to react to certain interaction JScrollPanes will scroll JButtons will change color when clicked In order to write functional GUI programs we must handle some events Java uses Listeners to manage event handling 3

4 Listeners When we register an object as a Listener it takes responsibility for certain events Only responsible for events from certain other components Only responsible for a limited class of events Listeners are actually interfaces They are a group of methods that we agree to implement Depending on the kind of Listener, we can have a large number of methods to implement 4

5 Common Listener Interfaces ActionListener Button being pressed Pressing return in a text field Selecting a menu item MouseListener Pressing a mouse button while over a certain component WindowListener Closing the main window KeyListener Pressing keys on the keyboard MenuListener Opening a menu Selecting a menu item More Listener Methods in the Java Tutorial Listener API Table l 5

6 Implementing Event Handling Lets make it so that our GUI programs exit when we close the window This can be annoying if not handled Without doing this, your windows disappear, but never exit This is going to be a window event connected to the JFrame We ll need to use a WindowListener WindowListener interface has 7 methods Every single one must be implemented The Adapter classes comes to our rescue, maybe You inherit from an Adapter class It contains skeletons for all corresponding Listener methods Difficulties Can only inherit from one class Not all Listeners have an Adapter Other option is to have skeleton methods for all the parts of the interface that we won t use 6

7 Exiting a Program Upon Window Closing Which method of WindowListener should we use? void windowactivated(windowevent e) Invoked when the Window is set to be the active Window. void windowclosed(windowevent e) Invoked when a window has been closed as the result of calling dispose on the window. void windowclosing(windowevent e) Invoked when the user attempts to close the window from the window's system menu. void windowdeactivated(windowevent e) Invoked when a Window is no longer the active Window. void windowdeiconified(windowevent e) Invoked when a window is changed from a minimized to a normal state. void windowiconified(windowevent e) Invoked when a window is changed from a normal to a minimized state. void windowopened(windowevent e) Invoked the first time a window is made visible. 7

8 windowclosed() or windowclosing() void windowclosed(windowevent e) Invoked when a window has been closed as the result of calling dispose on the window. void windowclosing(windowevent e) Invoked when the user attempts to close the window from the window's system menu. Window.dispose() Releases all of the native screen resources used by the Window. We will not work directly with instances of Window and therefore cannot control when dispose() is called. windowclosing() seems like the best option 8

9 Modifications to the Program frame.addwindowlistener(this); The parameter is the name of the object that will handle the event This line tells the component which object is responsible for responding to this action Class Button extends WindowAdapter or Class Button implements WindowListener The responding object must either extend the WindowAdapter Only have to implement methods we ll be using in WindowListener or implement the WindowListener interface Have to write at least a skeleton for all methods in WindowListener Write a method body for the responding object 9

10 Demo Programs that use windowclosing() ButtonWithWindowClosing.java LabeledScrollingList3.java 10

11 ActionListener Very high level event handler Can avoid some of the other types of event listeners if we use ActionListener Very common type of listener Button presses Menu item selection Has a single method public void actionperformed(actionevent e) 11

12 Handling ActionEvents We can make a single object the ActionListener for many other components Must distinguish who sent the event This data is stored in the ActionEvent object passed to actionperformed Methods for extracting event source info from ActionEvent Object getsource() Returns the object that generated the call to actionperformed String getactioncommand() Returns a string that contains the text of the object Can use setactioncommand to alter for an object Can be used for modal buttons 12

13 Other methods in ActionEvent long getwhen() Gives us the time and date the event occurred Can convert to human-readable with Date class int getmodifiers() Returns data on modifier keys pressed during event (Ctrl, Shift, etc.) String paramstring() Very useful for debugging Presents detailed information about event in textual form 13

14 ActionEvents.java ActionListener Demo 14

15 WindowAdapter In ActionEvents.java, to use a WindowAdapter to close the window, we had to create an inner class. Inner classes are a reality of life in Java GUI programs at times... But, is there a better way to close the window when the user clicks on the window close button? 15

16 public void setdefaultcloseoperation(int operation) Sets the operation that will happen by default when the user initiates a "close" on this frame. WindowConstants.DO_NOTHING_ON_CLOSE Don't do anything; require the program to handle the operation in the windowclosing method of a registered WindowListener object. WindowConstants.HIDE_ON_CLOSE Automatically hide the frame after invoking any registered WindowListener objects. Default action. WindowConstants.DISPOSE_ON_CLOSE Automatically hide and dispose the frame after invoking any registered WindowListener objects. JFrame.EXIT_ON_CLOSE Exit the application using the System exit method. Use this only in applications. 16

17 Data Models We can develop a data model for our program Abstract Data Type Our ADT can be stored in a JList Demo 1: LabeledScrollingList4.java State.java Demo 2: StateListModel.java LabeledScrollingList5.java 17

18 JList Mania The nomenclature for Swing JLists is somewhat confusing JList List Vector DefaultListModel ArrayList Keeping these classes differentiated is important 18

19 Every JList has a data view data view = data model A JList is a GUI component It shows us a view of some data The items in the list We tell the JList what data to show when we construct it JLIst mylist = new JList(Vector thedata); This view is not inherently dynamic Call the constructor as above and then try to change the vector s data Won t work too well (not at all) 19

20 Updating a JList Making a dynamic JList mylist.setlistdata(vector thenewdata); The JList will now show the current contents of the thenewdata vector Does this mean the Data model must be a Vector It could be a Vector Vector is part of the JCF Can be used as a List» We can use Collections.sort()» Can use all List methods It doesn t have to be a Vector Can use another JCF List type Just make a method that returns a Vector of your List contents 20

21 Dynamic Lists Demo DynamicStateLists.java 21

22 Clicking on a JList There are three ways to find out which item was clicked on in a JList myjlist.getselectedindex() This can work at any time Can be in ActionPerformed for a button ListSelectionListener Listener interface with only a single method public void valuechanged(listselectionevent e) Called whenever the selected item changes MouseListener Has seven methods public void mouseclicked(mouseevent e) Add this listener to JList Can detect single or double clicks Call getselectedindex() to determine which item was clicked 22

23 Beyond the JOptionPane JOptionPane was used in CS 1323 to create GUI based interfaces Very easy to use One line of code Don t necessarily need to use with Event Listeners Lack some versatility Has only a single line of input Must have a long chain of these dialogs for object input Uses Short message dialogs Actions that only need confirmation Yes/No OK/Cancel g/components/dialog.html 23

24 JDialog Swing component for Dialogs Used for modal or non-modal dialog windows Modal dialog: does not allow the user to interact with the rest of the program while dialog is active Non-Modal dialog: user can interact with program while dialog is active Construction Typically, we would write a class that inherits from JDialog JDialog mydialog = new JDialog (JFrame owner, boolean modal) The owner frame is the JFrame from which the dialog is shown Modal can be set either true or false Many other forms for the JDialog constructor 24

25 How to design and use Dialogs This is a confusing topic for many students. Controller Pattern PersonEditDialog dialog person person name etc... Person/Student/Professor 25

26 Dialog Demos SimpleDialog Demo StudentDialog.java StudentEx.java / PersonEx.java PersonEditDialog Demo PersonEditDialog.java Student.java / Professor.java / Person.java PersonEditDialog with Exception Handling PersonEditDialogEx.java StudentEx.java / ProfessorEx.java /PersonEx.java 26

CS 335 Lecture 06 Java Programming GUI and Swing

CS 335 Lecture 06 Java Programming GUI and Swing CS 335 Lecture 06 Java Programming GUI and Swing Java: Basic GUI Components Swing component overview Event handling Inner classes and anonymous inner classes Examples and various components Layouts Panels

More information

GUIs with Swing. Principles of Software Construction: Objects, Design, and Concurrency. Jonathan Aldrich and Charlie Garrod Fall 2012

GUIs with Swing. Principles of Software Construction: Objects, Design, and Concurrency. Jonathan Aldrich and Charlie Garrod Fall 2012 GUIs with Swing Principles of Software Construction: Objects, Design, and Concurrency Jonathan Aldrich and Charlie Garrod Fall 2012 Slides copyright 2012 by Jeffrey Eppinger, Jonathan Aldrich, William

More information

5.17 GUI. Xiaoyi Jiang Informatik I Grundlagen der Programmierung

5.17 GUI. Xiaoyi Jiang Informatik I Grundlagen der Programmierung AWT vs. Swing AWT (Abstract Window Toolkit; Package java.awt) Benutzt Steuerelemente des darunterliegenden Betriebssystems Native Code (direkt für die Maschine geschrieben, keine VM); schnell Aussehen

More information

http://netbeans.org/kb/docs/java/gui-functionality.html?print=yes

http://netbeans.org/kb/docs/java/gui-functionality.html?print=yes Page 1 of 6 Introduction to GUI Building Contributed by Saleem Gul and Tomas Pavek, maintained by Ruth Kusterer and Irina Filippova This beginner tutorial teaches you how to create a simple graphical user

More information

GUI Event-Driven Programming

GUI Event-Driven Programming GUI Event-Driven Programming CSE 331 Software Design & Implementation Slides contain content by Hal Perkins and Michael Hotan 1 Outline User events and callbacks Event objects Event listeners Registering

More information

Programming with Java GUI components

Programming with Java GUI components Programming with Java GUI components Java includes libraries to provide multi-platform support for Graphic User Interface objects. The multi-platform aspect of this is that you can write a program on a

More information

Fondamenti di Java. Introduzione alla costruzione di GUI (graphic user interface)

Fondamenti di Java. Introduzione alla costruzione di GUI (graphic user interface) Fondamenti di Java Introduzione alla costruzione di GUI (graphic user interface) component - container - layout Un Container contiene [0 o +] Components Il Layout specifica come i Components sono disposti

More information

Principles of Software Construction: Objects, Design and Concurrency. GUIs with Swing. toad 15-214. Spring 2013

Principles of Software Construction: Objects, Design and Concurrency. GUIs with Swing. toad 15-214. Spring 2013 Principles of Software Construction: Objects, Design and Concurrency GUIs with Swing 15-214 toad Spring 2013 Christian Kästner Charlie Garrod School of Computer Science 2012-13 C Garrod, C Kästner, J Aldrich,

More information

GUI Components: Part 2

GUI Components: Part 2 GUI Components: Part 2 JComboBox and Using an Anonymous Inner Class for Event Handling A combo box (or drop-down list) enables the user to select one item from a list. Combo boxes are implemented with

More information

Swing. A Quick Tutorial on Programming Swing Applications

Swing. A Quick Tutorial on Programming Swing Applications Swing A Quick Tutorial on Programming Swing Applications 1 MVC Model View Controller Swing is based on this design pattern It means separating the implementation of an application into layers or components:

More information

Extending Desktop Applications to the Web

Extending Desktop Applications to the Web Extending Desktop Applications to the Web Arno Puder San Francisco State University Computer Science Department 1600 Holloway Avenue San Francisco, CA 94132 arno@sfsu.edu Abstract. Web applications have

More information

Assignment # 2: Design Patterns and GUIs

Assignment # 2: Design Patterns and GUIs CSUS COLLEGE OF ENGINEERING AND COMPUTER SCIENCE Department of Computer Science CSc 133 Object-Oriented Computer Graphics Programming Spring 2014 John Clevenger Assignment # 2: Design Patterns and GUIs

More information

INTRODUCTION TO COMPUTER PROGRAMMING. Richard Pierse. Class 7: Object-Oriented Programming. Introduction

INTRODUCTION TO COMPUTER PROGRAMMING. Richard Pierse. Class 7: Object-Oriented Programming. Introduction INTRODUCTION TO COMPUTER PROGRAMMING Richard Pierse Class 7: Object-Oriented Programming Introduction One of the key issues in programming is the reusability of code. Suppose that you have written a program

More information

ID TECH UniMag Android SDK User Manual

ID TECH UniMag Android SDK User Manual ID TECH UniMag Android SDK User Manual 80110504-001-A 12/03/2010 Revision History Revision Description Date A Initial Release 12/03/2010 2 UniMag Android SDK User Manual Before using the ID TECH UniMag

More information

Karsten Lentzsch JGoodies SWING WITH STYLE

Karsten Lentzsch JGoodies SWING WITH STYLE Karsten Lentzsch JGoodies SWING WITH STYLE JGoodies: Karsten Lentzsch Open source Swing libraries Example applications Consultant for Java desktop Design assistance Training for visual design and implementation

More information

Developing GUI Applications: Architectural Patterns Revisited

Developing GUI Applications: Architectural Patterns Revisited Developing GUI Applications: Architectural Patterns Revisited A Survey on MVC, HMVC, and PAC Patterns Alexandros Karagkasidis karagkasidis@gmail.com Abstract. Developing large and complex GUI applications

More information

Using A Frame for Output

Using A Frame for Output Eventos Roteiro Frames Formatting Output Event Handling Entering Data Using Fields in a Frame Creating a Data Entry Field Using a Field Reading Data in an Event Handler Handling Multiple Button Events

More information

The Abstract Windowing Toolkit. Java Foundation Classes. Swing. In April 1997, JavaSoft announced the Java Foundation Classes (JFC).

The Abstract Windowing Toolkit. Java Foundation Classes. Swing. In April 1997, JavaSoft announced the Java Foundation Classes (JFC). The Abstract Windowing Toolkit Since Java was first released, its user interface facilities have been a significant weakness The Abstract Windowing Toolkit (AWT) was part of the JDK form the beginning,

More information

Essentials of the Java(TM) Programming Language, Part 1

Essentials of the Java(TM) Programming Language, Part 1 Essentials of the Java(TM) Programming Language, Part 1 http://developer.java.sun.com/developer...ining/programming/basicjava1/index.html Training Index Essentials of the Java TM Programming Language:

More information

JiST Graphical User Interface Event Viewer. Mark Fong mjf21@cornell.edu

JiST Graphical User Interface Event Viewer. Mark Fong mjf21@cornell.edu JiST Graphical User Interface Event Viewer Mark Fong mjf21@cornell.edu Table of Contents JiST Graphical User Interface Event Viewer...1 Table of Contents...2 Introduction...3 What it does...3 Design...3

More information

Tutorial: Time Of Day Part 2 GUI Design in NetBeans

Tutorial: Time Of Day Part 2 GUI Design in NetBeans Tutorial: Time Of Day Part 2 GUI Design in NetBeans October 7, 2010 Author Goals Kees Hemerik / Gerard Zwaan Getting acquainted with NetBeans GUI Builder Illustrate the separation between GUI and computation

More information

During the process of creating ColorSwitch, you will learn how to do these tasks:

During the process of creating ColorSwitch, you will learn how to do these tasks: GUI Building in NetBeans IDE 3.6 This short tutorial guides you through the process of creating an application called ColorSwitch. You will build a simple program that enables you to switch the color of

More information

The Basic Java Applet and JApplet

The Basic Java Applet and JApplet I2PUJ4 - Chapter 6 - Applets, HTML, and GUI s The Basic Java Applet and JApplet Rob Dempster robd@cs.ukzn.ac.za School of Computer Science University of KwaZulu-Natal Pietermaritzburg Campus I2PUJ4 - Chapter

More information

How Scala Improved Our Java

How Scala Improved Our Java How Scala Improved Our Java Sam Reid PhET Interactive Simulations University of Colorado http://spot.colorado.edu/~reids/ PhET Interactive Simulations Provides free, open source educational science simulations

More information

Advanced Network Programming Lab using Java. Angelos Stavrou

Advanced Network Programming Lab using Java. Angelos Stavrou Advanced Network Programming Lab using Java Angelos Stavrou Table of Contents A simple Java Client...3 A simple Java Server...4 An advanced Java Client...5 An advanced Java Server...8 A Multi-threaded

More information

The following four software tools are needed to learn to program in Java:

The following four software tools are needed to learn to program in Java: Getting Started In this section, we ll see Java in action. Some demo programs will highlight key features of Java. Since we re just getting started, these programs are intended only to pique your interest.

More information

core 2 Handling Mouse and Keyboard Events

core 2 Handling Mouse and Keyboard Events core Web programming Handling Mouse and Keyboard Events 1 2001-2003 Marty Hall, Larry Brown http:// Agenda General event-handling strategy Handling events with separate listeners Handling events by implementing

More information

CSS 543 Program 3: Online Tic-Tac-Toe Game Professor: Munehiro Fukuda Due date: see the syllabus

CSS 543 Program 3: Online Tic-Tac-Toe Game Professor: Munehiro Fukuda Due date: see the syllabus CSS 543 Program 3: Online Tic-Tac-Toe Game Professor: Munehiro Fukuda Due date: see the syllabus 1. Purpose This assignment exercises how to write a peer-to-peer communicating program using non-blocking

More information

Model-View-Controller (MVC) Design Pattern

Model-View-Controller (MVC) Design Pattern Model-View-Controller (MVC) Design Pattern Computer Science and Engineering College of Engineering The Ohio State University Lecture 23 Motivation Basic parts of any application: Data being manipulated

More information

Microsoft PowerPoint Exercises 4

Microsoft PowerPoint Exercises 4 Microsoft PowerPoint Exercises 4 In these exercises, you will be working with your Music Presentation file used in part 1 and 2. Open that file if you haven t already done so. Exercise 1. Slide Sorter

More information

Syllabus for CS 134 Java Programming

Syllabus for CS 134 Java Programming - Java Programming Syllabus Page 1 Syllabus for CS 134 Java Programming Computer Science Course Catalog 2000-2001: This course is an introduction to objectoriented programming using the Java language.

More information

Lecture VII JAVA SWING GUI TUTORIAL

Lecture VII JAVA SWING GUI TUTORIAL 2. First Step: JFrame Lecture VII Page 1 Lecture VII JAVA SWING GUI TUTORIAL These notes are based on the excellent book, Core Java, Vol 1 by Horstmann and Cornell, chapter 7, graphics programming. Introduction

More information

Choosing your Preferred Colours in Windows

Choosing your Preferred Colours in Windows Choosing your Preferred Colours in Windows Some people will occasionally find certain text and background combinations difficult to read, while others prefer to always have a certain colour combination

More information

Graphical User Interfaces

Graphical User Interfaces M14_REGE1813_02_SE_C14.qxd 2/10/10 3:43 PM Page 822 Chapter14 Graphical User Interfaces 14.1 GUI Basics Graphical Input and Output with Option Panes Working with Frames Buttons, Text Fields, and Labels

More information

Tutorial Reference Manual. Java WireFusion 4.1

Tutorial Reference Manual. Java WireFusion 4.1 Tutorial Reference Manual Java WireFusion 4.1 Contents INTRODUCTION...1 About this Manual...2 REQUIREMENTS...3 User Requirements...3 System Requirements...3 SHORTCUTS...4 DEVELOPMENT ENVIRONMENT...5 Menu

More information

How To Use The Command Pattern In Java.Com (Programming) To Create A Program That Is Atomic And Is Not A Command Pattern (Programmer)

How To Use The Command Pattern In Java.Com (Programming) To Create A Program That Is Atomic And Is Not A Command Pattern (Programmer) CS 342: Object-Oriented Software Development Lab Command Pattern and Combinations David L. Levine Christopher D. Gill Department of Computer Science Washington University, St. Louis levine,cdgill@cs.wustl.edu

More information

public class Application extends JFrame implements ChangeListener, WindowListener, MouseListener, MouseMotionListener {

public class Application extends JFrame implements ChangeListener, WindowListener, MouseListener, MouseMotionListener { Application.java import javax.swing.*; import java.awt.geom.*; import java.awt.event.*; import javax.swing.event.*; import java.util.*; public class Application extends JFrame implements ChangeListener,

More information

Mouse Event Handling (cont.)

Mouse Event Handling (cont.) GUI Components: Part II Mouse Event Handling (cont.) Each mouse event-handling method receives a MouseEvent object that contains information about the mouse event that occurred, including the x- and y-coordinates

More information

public class Craps extends JFrame implements ActionListener { final int WON = 0,LOST =1, CONTINUE = 2;

public class Craps extends JFrame implements ActionListener { final int WON = 0,LOST =1, CONTINUE = 2; Lecture 15 The Game of "Craps" In the game of "craps" a player throws a pair of dice. If the sum on the faces of the pair of dice after the first toss is 7 or 11 the player wins; if the sum on the first

More information

Getting Started: Creating a Simple App

Getting Started: Creating a Simple App Getting Started: Creating a Simple App What You will Learn: Setting up your development environment Creating a simple app Personalizing your app Running your app on an emulator The goal of this hour is

More information

Automated Data Collection for Usability Evaluation in Early Stages of Application Development

Automated Data Collection for Usability Evaluation in Early Stages of Application Development Automated Data Collection for Usability Evaluation in Early Stages of Application Development YONGLEI TAO School of Computing and Information Systems Grand Valley State University Allendale, MI 49401 USA

More information

Managing Your Emailbox

Managing Your Emailbox Managing Your Emailbox Before you try any of the tips below, the easiest way to decrease your mailbox size is to: Delete emails in your Sent Folder Empty the deleted items folder (right click on deleted

More information

First Java Programs. V. Paúl Pauca. CSC 111D Fall, 2015. Department of Computer Science Wake Forest University. Introduction to Computer Science

First Java Programs. V. Paúl Pauca. CSC 111D Fall, 2015. Department of Computer Science Wake Forest University. Introduction to Computer Science First Java Programs V. Paúl Pauca Department of Computer Science Wake Forest University CSC 111D Fall, 2015 Hello World revisited / 8/23/15 The f i r s t o b l i g a t o r y Java program @author Paul Pauca

More information

Skills and Topics for TeenCoder: Java Programming

Skills and Topics for TeenCoder: Java Programming Skills and Topics for TeenCoder: Java Programming Our Self-Study Approach Our courses are self-study and can be completed on the student's own computer, at their own pace. You can steer your student in

More information

KEYBOARD SHORTCUTS. Note: Keyboard shortcuts may be different for the same icon depending upon the SAP screen you are in.

KEYBOARD SHORTCUTS. Note: Keyboard shortcuts may be different for the same icon depending upon the SAP screen you are in. KEYBOARD SHORTCUTS Instead of an SAP icon button, you can use a keyboard shortcut. A keyboard shortcut is a key or combination of keys that you can use to access icon button functions while you are working

More information

Implementação. Interfaces Pessoa Máquina 2010/11. 2009-11 Salvador Abreu baseado em material Alan Dix. Thursday, June 2, 2011

Implementação. Interfaces Pessoa Máquina 2010/11. 2009-11 Salvador Abreu baseado em material Alan Dix. Thursday, June 2, 2011 Implementação Interfaces Pessoa Máquina 2010/11 2009-11 baseado em material Alan Dix 1 Windowing systems Architecture Layers Higher level Tool UI Toolkit (Widgets) Window System OS Application Hardware

More information

Cours de Java. Sciences-U Lyon. Java - Introduction Java - Fondamentaux Java Avancé. http://www.rzo.free.fr

Cours de Java. Sciences-U Lyon. Java - Introduction Java - Fondamentaux Java Avancé. http://www.rzo.free.fr Cours de Java Sciences-U Lyon Java - Introduction Java - Fondamentaux Java Avancé http://www.rzo.free.fr Pierre PARREND 1 Octobre 2004 Sommaire Java Introduction Java Fondamentaux Java Avancé GUI Graphical

More information

TATJA: A Test Automation Tool for Java Applets

TATJA: A Test Automation Tool for Java Applets TATJA: A Test Automation Tool for Java Applets Matthew Xuereb 19, Sanctuary Street, San Ġwann mxue0001@um.edu.mt Abstract Although there are some very good tools to test Web Applications, such tools neglect

More information

Author: Sascha Wolski Sebastian Hennebrueder http://www.laliluna.de/tutorials.html Tutorials for Struts, EJB, xdoclet and eclipse.

Author: Sascha Wolski Sebastian Hennebrueder http://www.laliluna.de/tutorials.html Tutorials for Struts, EJB, xdoclet and eclipse. JUnit Testing JUnit is a simple Java testing framework to write tests for you Java application. This tutorial gives you an overview of the features of JUnit and shows a little example how you can write

More information

How to develop your own app

How to develop your own app How to develop your own app It s important that everything on the hardware side and also on the software side of our Android-to-serial converter should be as simple as possible. We have the advantage that

More information

RDM+ Remote Desktop for Android. Getting Started Guide

RDM+ Remote Desktop for Android. Getting Started Guide RDM+ Remote Desktop for Android Getting Started Guide RDM+ (Remote Desktop for Mobiles) is a remote control tool that offers you the ability to connect to your desktop or laptop computer from Android device

More information

Essentials of the Java Programming Language

Essentials of the Java Programming Language Essentials of the Java Programming Language A Hands-On Guide by Monica Pawlan 350 East Plumeria Drive San Jose, CA 95134 USA May 2013 Part Number TBD v1.0 Sun Microsystems. Inc. All rights reserved If

More information

How To Build A Swing Program In Java.Java.Netbeans.Netcode.Com (For Windows) (For Linux) (Java) (Javax) (Windows) (Powerpoint) (Netbeans) (Sun) (

How To Build A Swing Program In Java.Java.Netbeans.Netcode.Com (For Windows) (For Linux) (Java) (Javax) (Windows) (Powerpoint) (Netbeans) (Sun) ( Chapter 11. Graphical User Interfaces To this point in the text, our programs have interacted with their users to two ways: The programs in Chapters 1-5, implemented in Processing, displayed graphical

More information

JetBrains ReSharper 2.0 Overview Introduction ReSharper is undoubtedly the most intelligent add-in to Visual Studio.NET 2003 and 2005. It greatly increases the productivity of C# and ASP.NET developers,

More information

Microsoft Migrating to Word 2010 from Word 2003

Microsoft Migrating to Word 2010 from Word 2003 In This Guide Microsoft Word 2010 looks very different, so we created this guide to help you minimize the learning curve. Read on to learn key parts of the new interface, discover free Word 2010 training,

More information

File Management With Windows Explorer

File Management With Windows Explorer File Management With Windows Explorer Preamble: After you have created and saved numerous files using various programs, file management, the process of organizing and keeping track of all your files, can

More information

Auto Clicker Tutorial

Auto Clicker Tutorial Auto Clicker Tutorial This Document Outlines Various Features of the Auto Clicker. The Screenshot of the Software is displayed as below and other Screenshots displayed in this Software Tutorial can help

More information

Introduction to scripting with Unity

Introduction to scripting with Unity Introduction to scripting with Unity Scripting is an essential part of Unity as it defines the behaviour of your game. This tutorial will introduce the fundamentals of scripting using Javascript. No prior

More information

Editors Comparison (NetBeans IDE, Eclipse, IntelliJ IDEA)

Editors Comparison (NetBeans IDE, Eclipse, IntelliJ IDEA) České vysoké učení technické v Praze Fakulta elektrotechnická Návrh Uživatelského Rozhraní X36NUR Editors Comparison (NetBeans IDE, Eclipse, ) May 5, 2008 Goal and purpose of test Purpose of this test

More information

Fleet Maintenance Software

Fleet Maintenance Software Fleet Maintenance Software Welcome Thank you for taking time to review FleetWise VB Maintenance Management Made Simple. This guide is intended to provide a quick overview of installing the software and

More information

customer rewards Use this guide to create customized customer rewards and redeem points earned by customers.

customer rewards Use this guide to create customized customer rewards and redeem points earned by customers. customer rewards Use this guide to create customized customer rewards and redeem points earned by customers. Setting Security 2. Click on the Security Customer Rewards Edit Ticket - Process 3. Click the

More information

JIDE Docking Framework Developer Guide

JIDE Docking Framework Developer Guide JIDE Docking Framework Developer Guide Contents PURPOSE OF THIS DOCUMENT... 1 WHAT IS JIDE DOCKING FRAMEWORK... 2 HOW TO USE JIDE DOCKING FRAMEWORK... 2 UNDERSTANDING THE DOCKINGMANAGER... 2 INTEGRATION

More information

Migrating to Excel 2010 from Excel 2003 - Excel - Microsoft Office 1 of 1

Migrating to Excel 2010 from Excel 2003 - Excel - Microsoft Office 1 of 1 Migrating to Excel 2010 - Excel - Microsoft Office 1 of 1 In This Guide Microsoft Excel 2010 looks very different, so we created this guide to help you minimize the learning curve. Read on to learn key

More information

Using WebEx Player. Playing a recording. Installing WebEx Player. System requirements for listening to audio in a recording

Using WebEx Player. Playing a recording. Installing WebEx Player. System requirements for listening to audio in a recording 17 of 24 Using WebEx Player Using WebEx Player, you can play back any recording that was made using WebEx Recorder that is, a WebEx Recording Format (.wrf) file. Installing WebEx Player If you do not yet

More information

Handout 3 cs180 - Programming Fundamentals Spring 15 Page 1 of 6. Handout 3. Strings and String Class. Input/Output with JOptionPane.

Handout 3 cs180 - Programming Fundamentals Spring 15 Page 1 of 6. Handout 3. Strings and String Class. Input/Output with JOptionPane. Handout 3 cs180 - Programming Fundamentals Spring 15 Page 1 of 6 Handout 3 Strings and String Class. Input/Output with JOptionPane. Strings In Java strings are represented with a class type String. Examples:

More information

@ - Internal # - External @- Online TH PR OR TW TOTAL HOURS 04 --- 04 03 100 50# --- 25@ 175

@ - Internal # - External @- Online TH PR OR TW TOTAL HOURS 04 --- 04 03 100 50# --- 25@ 175 COURSE NAME : COMPUTER ENGINEERING GROUP COURSE CODE SEMESTER SUBJECT TITLE : CO/CM/IF/CD : SIXTH : ADVANCED JAVA PROGRAMMING SUBJECT CODE : Teaching and Examination Scheme: @ - Internal # - External @-

More information

HTML Form Widgets. Review: HTML Forms. Review: CGI Programs

HTML Form Widgets. Review: HTML Forms. Review: CGI Programs HTML Form Widgets Review: HTML Forms HTML forms are used to create web pages that accept user input Forms allow the user to communicate information back to the web server Forms allow web servers to generate

More information

Quick Guide. Passports in Microsoft PowerPoint. Getting Started with PowerPoint. Locating the PowerPoint Folder (PC) Locating PowerPoint (Mac)

Quick Guide. Passports in Microsoft PowerPoint. Getting Started with PowerPoint. Locating the PowerPoint Folder (PC) Locating PowerPoint (Mac) Passports in Microsoft PowerPoint Quick Guide Created Updated PowerPoint is a very versatile tool. It is usually used to create multimedia presentations and printed handouts but it is an almost perfect

More information

Event processing in Java: what happens when you click?

Event processing in Java: what happens when you click? Event processing in Java: what happens when you click? Alan Dix In the HCI book chapter 8 (fig 8.5, p. 298), notification-based user interface programming is described. Java uses this paradigm and you

More information

Visual Basic 2010 Essentials

Visual Basic 2010 Essentials Visual Basic 2010 Essentials Visual Basic 2010 Essentials First Edition 2010 Payload Media. This ebook is provided for personal use only. Unauthorized use, reproduction and/or distribution strictly prohibited.

More information

Lecture 2 Mathcad Basics

Lecture 2 Mathcad Basics Operators Lecture 2 Mathcad Basics + Addition, - Subtraction, * Multiplication, / Division, ^ Power ( ) Specify evaluation order Order of Operations ( ) ^ highest level, first priority * / next priority

More information

Greetings Keyboard Mastery Keyboarding Students! Teacher: Mrs. Wright

Greetings Keyboard Mastery Keyboarding Students! Teacher: Mrs. Wright Greetings Keyboard Mastery Keyboarding Students! Teacher: Mrs. Wright You do NOT have to turn anything in I can see your scores and grades online in my Teacher Manager. Read this syllabus carefully! Step

More information

Windows XP Pro: Basics 1

Windows XP Pro: Basics 1 NORTHWEST MISSOURI STATE UNIVERSITY ONLINE USER S GUIDE 2004 Windows XP Pro: Basics 1 Getting on the Northwest Network Getting on the Northwest network is easy with a university-provided PC, which has

More information

LESSON 7: IMPORTING AND VECTORIZING A BITMAP IMAGE

LESSON 7: IMPORTING AND VECTORIZING A BITMAP IMAGE LESSON 7: IMPORTING AND VECTORIZING A BITMAP IMAGE In this lesson we ll learn how to import a bitmap logo, transform it into a vector and perform some editing on the vector to clean it up. The concepts

More information

Randy Hyde s Win32 Assembly Language Tutorials (Featuring HOWL) #4: Radio Buttons

Randy Hyde s Win32 Assembly Language Tutorials (Featuring HOWL) #4: Radio Buttons Randy Hyde s Win32 Assembly Language Tutorials Featuring HOWL #4: Radio Buttons In this fourth tutorial of this series, we ll take a look at implementing radio buttons on HOWL forms. Specifically, we ll

More information

Microsoft Migrating to PowerPoint 2010 from PowerPoint 2003

Microsoft Migrating to PowerPoint 2010 from PowerPoint 2003 In This Guide Microsoft PowerPoint 2010 looks very different, so we created this guide to help you minimize the learning curve. Read on to learn key parts of the new interface, discover free PowerPoint

More information

Demo: Controlling.NET Windows Forms from a Java Application. Version 7.3

Demo: Controlling.NET Windows Forms from a Java Application. Version 7.3 Demo: Controlling.NET Windows Forms from a Java Application Version 7.3 JNBridge, LLC www.jnbridge.com COPYRIGHT 2002 2015 JNBridge, LLC. All rights reserved. JNBridge is a registered trademark and JNBridgePro

More information

Hypercosm. Studio. www.hypercosm.com

Hypercosm. Studio. www.hypercosm.com Hypercosm Studio www.hypercosm.com Hypercosm Studio Guide 3 Revision: November 2005 Copyright 2005 Hypercosm LLC All rights reserved. Hypercosm, OMAR, Hypercosm 3D Player, and Hypercosm Studio are trademarks

More information

3D-GIS in the Cloud USER MANUAL. August, 2014

3D-GIS in the Cloud USER MANUAL. August, 2014 3D-GIS in the Cloud USER MANUAL August, 2014 3D GIS in the Cloud User Manual August, 2014 Table of Contents 1. Quick Reference: Navigating and Exploring in the 3D GIS in the Cloud... 2 1.1 Using the Mouse...

More information

DataXchange User Guide

DataXchange User Guide Getting Started Thank you for choosing DataXchange as your web conferencing platform. The following guide will direct you through a typical user session when conducting/attending a meeting online. Should

More information

GelAnalyzer 2010 User s manual. Contents

GelAnalyzer 2010 User s manual. Contents GelAnalyzer 2010 User s manual Contents 1. Starting GelAnalyzer... 2 2. The main window... 2 3. Create a new analysis... 2 4. The image window... 3 5. Lanes... 3 5.1 Detect lanes automatically... 3 5.2

More information

JIDE Action Framework Developer Guide

JIDE Action Framework Developer Guide JIDE Action Framework Developer Guide Contents PURPOSE OF THIS DOCUMENT... 1 WHAT IS JIDE ACTION FRAMEWORK... 1 PACKAGES... 3 MIGRATING FROM EXISTING APPLICATIONS... 3 DOCKABLEBARMANAGER... 9 DOCKABLE

More information

JIDE Gantt Chart Developer Guide

JIDE Gantt Chart Developer Guide JIDE Gantt Chart Developer Guide Contents PURPOSE OF THIS DOCUMENT... 1 FEATURES... 1 JIDE GANTT CHART... 2 OVERVIEW OF JIDE GANTT CHART APIS... 3 GANTTENTRY... 3 GANTTMODEL... 3 DEFAULTGANTTMODEL... 5

More information

This Manual contains the following How To information:

This Manual contains the following How To information: This Manual contains the following How To information: I. How to Register a Humminbird Product II. How to Download HumminbirdPC III. How to Download and Install Humminbird Software Upgrades IV. How to

More information

- User input includes typing on the keyboard, clicking of a mouse, tapping or swiping a touch screen device, etc.

- User input includes typing on the keyboard, clicking of a mouse, tapping or swiping a touch screen device, etc. Java User Input WHAT IS USER INPUT? - Collecting and acting on user input is important in many types of programs or applications. - User input includes typing on the keyboard, clicking of a mouse, tapping

More information

Java is commonly used for deploying applications across a network. Compiled Java code

Java is commonly used for deploying applications across a network. Compiled Java code Module 5 Introduction to Java/Swing Java is commonly used for deploying applications across a network. Compiled Java code may be distributed to different machine architectures, and a native-code interpreter

More information

Using WINK to create custom animated tutorials

Using WINK to create custom animated tutorials Using WINK to create custom animated tutorials A great way for students and teachers alike to learn how to use new software is to see it demonstrated and to reinforce the lesson by reviewing the demonstration.

More information

Artificial Intelligence. Class: 3 rd

Artificial Intelligence. Class: 3 rd Artificial Intelligence Class: 3 rd Teaching scheme: 4 hours lecture credits: Course description: This subject covers the fundamentals of Artificial Intelligence including programming in logic, knowledge

More information

Tips & Tricks for ArcGIS. Presented by: Jim Mallard, Crime Analysis Supervisor Arlington, Texas. 2007 IACA Conference Pasadena, Ca

Tips & Tricks for ArcGIS. Presented by: Jim Mallard, Crime Analysis Supervisor Arlington, Texas. 2007 IACA Conference Pasadena, Ca Tips & Tricks for ArcGIS Presented by: Jim Mallard, Crime Analysis Supervisor Arlington, Texas 2007 IACA Conference Pasadena, Ca Table of Contents Lock & Load Labels for Maximum Speed!...2 Choose your

More information

VAASAN AMMATTIKORKEAKOULU UNIVERSITY OF APPLIED SCIENCES. Xiaoling Yu IMPLEMENTATION OF A SECURE SHELL FILE TRANSFER PROGRAM IN JAVA

VAASAN AMMATTIKORKEAKOULU UNIVERSITY OF APPLIED SCIENCES. Xiaoling Yu IMPLEMENTATION OF A SECURE SHELL FILE TRANSFER PROGRAM IN JAVA VAASAN AMMATTIKORKEAKOULU UNIVERSITY OF APPLIED SCIENCES Xiaoling Yu IMPLEMENTATION OF A SECURE SHELL FILE TRANSFER PROGRAM IN JAVA Information Technology 2010 2 FOREWORD First of all, I would like to

More information

Translating to Java. Translation. Input. Many Level Translations. read, get, input, ask, request. Requirements Design Algorithm Java Machine Language

Translating to Java. Translation. Input. Many Level Translations. read, get, input, ask, request. Requirements Design Algorithm Java Machine Language Translation Translating to Java Introduction to Computer Programming The job of a programmer is to translate a problem description into a computer language. You need to be able to convert a problem description

More information

Word basics. Before you begin. What you'll learn. Requirements. Estimated time to complete:

Word basics. Before you begin. What you'll learn. Requirements. Estimated time to complete: Word basics Word is a powerful word processing and layout application, but to use it most effectively, you first have to understand the basics. This tutorial introduces some of the tasks and features that

More information

ADOBE ACROBAT 7.0 CREATING FORMS

ADOBE ACROBAT 7.0 CREATING FORMS ADOBE ACROBAT 7.0 CREATING FORMS ADOBE ACROBAT 7.0: CREATING FORMS ADOBE ACROBAT 7.0: CREATING FORMS...2 Getting Started...2 Creating the Adobe Form...3 To insert a Text Field...3 To insert a Check Box/Radio

More information

TUTORIAL. BUILDING A SIMPLE MAPPING APPLICATION

TUTORIAL. BUILDING A SIMPLE MAPPING APPLICATION Cleveland State University CIS493. Mobile Application Development Using Android TUTORIAL. BUILDING A SIMPLE MAPPING APPLICATION The goal of this tutorial is to create a simple mapping application that

More information

How to Create and Manually Manage a Breakout Room

How to Create and Manually Manage a Breakout Room Breakout Rooms During a presentation, you may move participants (and, optionally, yourself and/or other presenters) to Breakout Rooms for discussions and group work. Participants (and you, if you elect

More information

Demo: Embedding Windows Presentation Foundation elements inside a Java GUI application. Version 7.3

Demo: Embedding Windows Presentation Foundation elements inside a Java GUI application. Version 7.3 Demo: Embedding Windows Presentation Foundation elements inside a Java GUI application Version 7.3 JNBridge, LLC www.jnbridge.com COPYRIGHT 2002 2015 JNBridge, LLC. All rights reserved. JNBridge is a registered

More information

Part 1 Foundations of object orientation

Part 1 Foundations of object orientation OFWJ_C01.QXD 2/3/06 2:14 pm Page 1 Part 1 Foundations of object orientation OFWJ_C01.QXD 2/3/06 2:14 pm Page 2 1 OFWJ_C01.QXD 2/3/06 2:14 pm Page 3 CHAPTER 1 Objects and classes Main concepts discussed

More information

Computing Concepts with Java Essentials

Computing Concepts with Java Essentials 2008 AGI-Information Management Consultants May be used for personal purporses only or by libraries associated to dandelon.com network. Computing Concepts with Java Essentials 3rd Edition Cay Horstmann

More information

Tutorial - How to Use Lotus Domino Web Services in Java Development

Tutorial - How to Use Lotus Domino Web Services in Java Development Tutorial - How to Use Lotus Domino Web Services in Java Development This tutorial contains detailed information about how can we use Lotus Domino Web Services (using Web Services Provider) in Java Development.

More information

Crop and Frame Your Photos

Crop and Frame Your Photos Crop and Frame Your Photos Paint Shop Pro s crop tool gives you total control over your photo compositions. Cropping allows you to turn busy portraits into professional prints. And when you have a nicely

More information