Autoboxing/Autounboxing
|
|
|
- Rebecca Lewis
- 10 years ago
- Views:
Transcription
1 Autoboxing
2 Autoboxing/Autounboxing public static void main(string args[]) { int dim=10; Pila<Integer> s=new Pila(); // s= new Coda(); for (int k=0;k<dim;k++){ //Integer o=new Integer(k); //s.inserisci(o); s.inserisci(k); for (int k=0;k<3*dim;k++) { //int j= Integer.parseInt(s.estrai()); int j= s.estrai(); System.out.println(j);
3 Even/ di tas/era
4 Un app con due bo7oni public class Keyboard1 extends Application {! int counter=0;!!! public void start(stage stage) {! TilePane box=new TilePane();! box.sethgap(50);! final Button b1=new Button("Uno");! final Button b2=new Button("Due");!!! box.getchildren().addall(b1,b2);! EventHandler actionhandler=new EventHandler(){! public void handle(event t) {! System.out.println((counter++)+!!!!!!!((Button)(t.getTarget())).getText());! ;!!!!b1.addeventhandler(actionevent.action, actionhandler);! b2.addeventhandler(actionevent.action, actionhandler);!! 0Uno 1Uno 2Uno 3Uno
5 che ca7ura gli even/ di keyboard! EventHandler<KeyEvent> keyeventhandler =! new EventHandler<KeyEvent>() {! public void handle(keyevent keyevent) {! if (keyevent.getcode() == KeyCode.U) {! b1.fireevent(new ActionEvent());! System.out.println(keyEvent.getSource()!!!!!!!!!!+" => "+keyevent.gettarget());!!!!!!!!!!! ;!! Scene scene = new Scene(box, 400, 300);! b1.addeventhandler(keyevent.key_pressed, keyeventhandler);! stage.settitle("my JavaFX Application");! stage.setscene(scene);! stage.show();! public static void main(string[] args) {! Application.launch(args);! Bu7on[id=null, styleclass=bu7on] => Bu7on[id=null, styleclass=bu7on]
6 ma funziona? SI! NO!
7 Sistemiamola. EventHandler<KeyEvent> keyeventhandler =! new EventHandler<KeyEvent>() {! public void handle(keyevent keyevent) {! if (keyevent.getcode() == KeyCode.U) {! b1.fireevent(new ActionEvent());! System.out.println(keyEvent.getSource()!!!!!!!!!!+" => "+keyevent.gettarget());!!!!!!!!! ;!! Scene scene = new Scene(box, 400, 300);!!! //b1.addeventhandler(keyevent.key_pressed, keyeventhandler);!! stage.addeventhandler(keyevent.key_pressed, keyeventhandler);!! stage.settitle("my JavaFX Application");!!! stage.setscene(scene);! stage.show();! javafx.scene.scene@68a08ca7 => Bu7on[id=null, styleclass=bu7on]
8 Ora ges/amo anche l'altro bo7one. EventHandler<KeyEvent> keyeventhandler =! new EventHandler<KeyEvent>() {! public void handle(final KeyEvent keyevent) {! System.out.println(keyEvent.getSource()+"!!!!!!!!!!=> "+keyevent.gettarget());!! switch (keyevent.getcode()){!! ;! case U:! case DIGIT1:! b1.fireevent(new ActionEvent());! break;! case D:! case DIGIT2:! b2.fireevent(new ActionEvent());! break;!
9 Events User Action Event Type Class User Action Event Type Class Key on the keyboard is pressed. KeyEvent Node, Scen e Zoom gesture is performed on an object ZoomEvent Node, Scene Mouse is moved or a button on the mouse is pressed. MouseEvent Node, Scen e Context menu is requested ContextMenuEvent Node, Scene Full mouse press-dragrelease action is performed. Input from an alternate method for entering characters (typically for a foreign language) is generated, changed, removed, or committed. Platform-supported drag and drop action is performed. MouseDragEvent Node, Scen e InputMethodEve nt DragEvent Node, Scen e Node, Scen e Object is scrolled. ScrollEvent Node, Scen e Rotation gesture is performed on an object Swipe gesture is performed on an object RotateEvent SwipeEvent Node, Scen e Node, Scen e An object is touched TouchEvent Node, Scen e Zoom gesture is performed on an object! ZoomEvent Node, Scen e Button is pressed, combo box is shown or hidden, or a menu item is selected. Item in a list, table, or tree is edited. Media player encounters an error. Menu is either shown or hidden. Popup window is hidden. Tab is selected or closed. Window is closed, shown, or hidden.! ActionEvent ListView.EditEvent TableColumn.CellEdi tevent TreeView.EditEvent MediaErrorEvent Event Event Event WindowEvent ButtonBase,Com boboxbase,cont extmenu,menuit em, TextField ListView TableColumn TreeView MediaView Menu PopupWindow Tab Window
10 Event chain - 1 public class EventFilterDemo extends Application { public void start(final Stage stage) { ; EventHandler handler=new EventHandler<ActionEvent>() public void handle(actionevent t) { EventTarget target=t.gettarget(); Object source=t.getsource(); String id=null; if (source instanceof Node { id=((node)source).getid(); else if (source instanceof Stage) { id="stage"; else if (source instanceof Scene) { else { id="scene"; System.out.println("Unrecognized Object"+source); System.out.println("HANDLER:"+id+" "+source+" ==> " +target);
11 Event chain - 2 EventHandler filter=new EventHandler<ActionEvent>() ; public void handle(actionevent t) { EventTarget target=t.gettarget(); Object source=t.getsource(); String id=null; if (source instanceof Node { id=((node)source).getid(); else if (source instanceof Stage) { id="stage"; else if (source instanceof Scene) { else { id="scene"; System.out.println("Unrecognized Object"+source); System.out.println("FILTER:"+id+" "+source+" ==> " +target);
12 Event chain - 2 EventHandler filter=new EventHandler<ActionEvent>() ; public void handle(actionevent t) { EventTarget target=t.gettarget(); Object source=t.getsource(); String id=null; if (source instanceof Node { id=((node)source).getid(); else if (source instanceof Stage) { id="stage"; else if (source instanceof Scene) { else { id="scene"; System.out.println("Unrecognized Object"+source); System.out.println("FILTER:"+id+" "+source+" ==> " +target);
13 Event chain - 3 TilePane layout=new TilePane(); Button button=new Button("Uno"); Button button2=new Button("DUE"); layout.getchildren().addall(button,button2); Scene scene = new Scene(layout); layout.setid("stackpane"); button.setid("button"); button.setid("button2"); scene.addeventfilter(actionevent.action,filter); scene.addeventhandler(actionevent.action,handler); stage.addeventfilter(actionevent.action,filter); stage.addeventhandler(actionevent.action,handler); layout.addeventfilter(actionevent.action,filter); layout.addeventhandler(actionevent.action,handler); button2.addeventfilter(actionevent.action,filter); button2.addeventhandler(actionevent.action,handler); button.addeventfilter(actionevent.action,filter); button.addeventhandler(actionevent.action,handler); stage.setscene(scene); stage.show(); public static void main(string[] args) { Application.launch(args);
14 Output FILTER:STAGE ==> BuDon[id=BUTTON- 1, styleclass=budon] FILTER:SCENE ==> BuDon[id=BUTTON- 1, styleclass=budon] FILTER:STACKPANE TilePane[id=STACKPANE, styleclass=root] ==> BuDon[id=BUTTON- 1, styleclass=budon] FILTER:BUTTON- 1 BuDon[id=BUTTON- 1, styleclass=budon] ==> BuDon[id=BUTTON- 1, styleclass=budon] HANDLER:BUTTON- 1 BuDon[id=BUTTON- 1, styleclass=budon] ==> BuDon[id=BUTTON- 1, styleclass=budon] HANDLER:STACKPANE TilePane[id=STACKPANE, styleclass=root] ==> BuDon[id=BUTTON- 1, styleclass=budon] HANDLER:SCENE javafx.scene.scene@b30e9f8 ==> BuDon[id=BUTTON- 1, styleclass=budon] HANDLER:STAGE javafx.stage.stage@7c1031ba ==> BuDon[id=BUTTON- 1, styleclass=budon] FILTER:STAGE javafx.stage.stage@7c1031ba ==> BuDon[id=BUTTON- 2, styleclass=budon] FILTER:SCENE javafx.scene.scene@b30e9f8 ==> BuDon[id=BUTTON- 2, styleclass=budon] FILTER:STACKPANE TilePane[id=STACKPANE, styleclass=root] ==> BuDon[id=BUTTON- 2, styleclass=budon] FILTER:BUTTON- 2 BuDon[id=BUTTON- 2, styleclass=budon] ==> BuDon[id=BUTTON- 2, styleclass=budon] HANDLER:BUTTON- 2BuDon[id=BUTTON- 2, styleclass=budon] ==> BuDon[id=BUTTON- 2, styleclass=budon] HANDLER:STACKPANE TilePane[id=STACKPANE, styleclass=root] ==> BuDon[id=BUTTON- 2, styleclass=budon] HANDLER:SCENE javafx.scene.scene@b30e9f8 ==> BuDon[id=BUTTON- 2, styleclass=budon] HANDLER:STAGE javafx.stage.stage@7c1031ba ==> BuDon[id=BUTTON- 2, styleclass=budon]
15 Event chain v.2-1 public void start(final Stage stage) { class SuperHandler<T extends Event> implements EventHandler<T>{ ; SuperHandler() { super(); protected EventTarget target; protected Object source; protected String public void handle(t t) { target=t.gettarget(); source=t.getsource(); id=null; if (source instanceof Node) { id=((node)source).getid(); else if (source instanceof Stage) { id="stage"; else if (source instanceof Scene) { else { id="scene"; System.out.println("Unrecognized Object"+source);
16 Event chain v.1-1 public class EventFilterDemo extends Application { public void start(final Stage stage) { ; EventHandler handler=new EventHandler<ActionEvent>() public void handle(actionevent t) { EventTarget target=t.gettarget(); Object source=t.getsource(); String id=null; if (source instanceof Node { id=((node)source).getid(); else if (source instanceof Stage) { id="stage"; else if (source instanceof Scene) { else { id="scene"; System.out.println("Unrecognized Object"+source); System.out.println("HANDLER:"+id+" "+source+" ==> " +target);
17 Event chain v.2 2b SuperHandler<ActionEvent> filter=new SuperHandler<ActionEvent>() { public void handle(actionevent t) { ; super.handle(t); System.out.println("FILTER:"+id+" "+source+" ==> "+target); SuperHandler<ActionEvent> handler=new SuperHandler<ActionEvent>() { ; public void handle(actionevent t) { super.handle(t); System.out.println("HANDLER:"+id+" "+source+" ==> "+target);
18 Event chain cu7er 1 SuperHandler<ActionEvent> filter=new SuperHandler<ActionEvent>() { public void handle(actionevent t) { ; super.handle(t); System.out.println("FILTER:"+id+" "+source+" ==> "+target); SuperHandler<ActionEvent> handler=new SuperHandler<ActionEvent>() { ; public void handle(actionevent t) { super.handle(t); System.out.println("HANDLER:"+id+" "+source+" ==> "+target); SuperHandler<ActionEvent> cutter=new SuperHandler<ActionEvent>() { public void handle(actionevent t) { super.handle(t); System.out.println("CUTTER:"+id+" "+source+" ==> "+target); t.consume(); ;
19 Event chain cu7er 2 scene.addeventfilter(actionevent.action,filter); scene.addeventhandler(actionevent.action,handler); stage.addeventfilter(actionevent.action,filter); stage.addeventhandler(actionevent.action,handler); layout.addeventfilter(actionevent.action,cutter); layout.addeventhandler(actionevent.action,handler); button.addeventfilter(actionevent.action,cutter); button.addeventhandler(actionevent.action,handler); FILTER:STAGE javafx.stage.stage@7c1031ba ==> BuDon[id=BUTTON- 1, styleclass=budon] FILTER:SCENE javafx.scene.scene@b30e9f8 ==> BuDon[id=BUTTON- 1, styleclass=budon] CUTTER:STACKPANE TilePane[id=STACKPANE, styleclass=root] ==> BuDon[id=BUTTON- 1, styleclass=budon]
20 Event chain cu7er 2b scene.addeventfilter(actionevent.action,filter); scene.addeventhandler(actionevent.action,handler); stage.addeventfilter(actionevent.action,filter); stage.addeventhandler(actionevent.action,handler); layout.addeventfilter(actionevent.action, filter); layout.addeventhandler(actionevent.action,cutter); button.addeventfilter(actionevent.action, filter); button.addeventhandler(actionevent.action,cutter); FILTER:STAGE ==> BuDon[id=BUTTON- 1, styleclass=budon] FILTER:SCENE ==> BuDon[id=BUTTON- 1, styleclass=budon] FILTER:STACKPANE TilePane[id=STACKPANE, styleclass=root] ==> BuDon[id=BUTTON- 1, styleclass=budon] FILTER:BUTTON- 1 BuDon[id=BUTTON- 1, styleclass=budon] ==> BuDon[id=BUTTON- 1, styleclass=budon] CUTTER:BUTTON- 1 BuDon[id=BUTTON- 1, styleclass=budon] ==> BuDon[id=BUTTON- 1, styleclass=budon]
21 Monitoraggio di una variabile E' possibile che se il valore di una variabile cambia succeda qualcosa?
22 Polling In un ciclo, in un'altra thread, con/nuo a leggerne il valore finché non cambia
23 Soluzione 2 Usando proprietà osservabili.
24
25 Proprietà variabile (nascosta): p Proprietà: p metodi: getp() setp( ) getpproperty() es: centerx es: getcenterx() es: setcenterx( ) es: getcenterxproperty() la variabile nascosta potrebbe essere read- only!
26 Un esempio di proprietà: amountdue package propertydemo; import javafx.beans.property.doubleproperty; import javafx.beans.property.simpledoubleproperty; class Bill { // Define a variable to store the property private DoubleProperty amountdue = new SimpleDoubleProperty(); // Define a ge7er for the property's value public final double getamountdue(){return amountdue.get(); // Define a se7er for the property's value public final void setamountdue(double value){amountdue.set(value); // Define a ge7er for the property itself public DoubleProperty amountdueproperty() {return amountdue; (Esempio di Sco7 Hammel, Oracle) h7p://docs.oracle.com/javafx/2/api/index.html?javafx/beans/property/doubleproperty.html
27 Conce7o di Observable An Observable is an en/ty that wraps content and allows to observe the content for invalida/ons. Tiene una lista di ascoltatori all'interno del metodo set deve lanciare l'evento di changed o di invalidated changed(observablevalue<? extends T> observable, T oldvalue, T newvalue) This method needs to be provided by an implementa/on of ChangeListener.
28 Ridimensionamento della finestra
29 Ca7ura gli even/ di resize della scena public class WindowResize extends Application {! public void start(stage stage) {!!!! Node circ = new Circle(40, 40, 30);! Parent root = new Group(circ);! Scene scene = new Scene(root, 400, 300);! scene.widthproperty().addlistener(new ChangeListener<Number>() {! public void changed(observablevalue<? extends Number>! observableval, Number oldwidth, Number newwidth) {! System.out.println("Width: " + newwidth); );! scene.heightproperty().addlistener(new ChangeListener<Number>() {! public void changed(observablevalue<? extends Number>! observableval, Number oldheight, Number newheight) {! System.out.println("Height: " + newheight); );! stage.setscene(scene);! stage.show();!
30 PLAF Pluggable Look And Feel in JavaFX "Skinning" (with CSS) h7p://docs.oracle.com/javase/8/javafx/user- interface- tutorial/css_tutorial.htm
Introduction to JavaFX. Tecniche di Programmazione A.A. 2012/2013
Introduction to JavaFX Tecniche di Programmazione Summary 1. About and History 2. Basic concepts 3. Minimal JavaFX Application 4. Resources 2 About and History Introduction to JavaFX GUI in Java Graphic
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
3. Surfing with Your Tablet
95 3. Surfing with Your Tablet In this chapter you will get to know the Internet app. This is the default web browser application that is installed on your Samsung Galaxy Tab. You can use this app to surf
Outline. 1.! Development Platforms for Multimedia Programming!
Outline 1.! Development Platforms for Multimedia Programming! 1.1.! Classification of Development Platforms! 1.2.! A Quick Tour of Various Development Platforms! 2.! Multimedia Programming with Python
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
Introduction to Windows 8
Introduction to Windows 8 Windows 8 is a completely redesigned operating system developed from the ground up with touchscreen use in mind as well as near instant-on capabilities that enable a Windows 8
Creating Comic Life Images Using Microsoft Word, Clipart, and Irfanview.
Creating Comic Life Images Using Microsoft Word, Clipart, and Irfanview. Clipart Microsoft Word Irfanview 1. Open up Microsoft Word It will act as a blank canvas for us to add our images and layer them.
Windows 8.1 Tips and Tricks
Windows 8.1 Tips and Tricks Table of Contents Tiles... 2 Removing, Resizing and Moving Existing Tiles... 2 Adding New Tiles... 2 Returning to the Start Screen (Charms)... 3 The Search Feature... 3 Switching
City of Corpus Christi. Mobile GIS Viewer. For ipad
City of Corpus Christi Mobile GIS Viewer For ipad MIS - GIS 3/9/2012 P a g e 1 Contents Requirements... 2 Installation... 2 Using the ArcGIS Mobile App... 4 Connect to the Corpus Christi Mobile GIS Map
Tutorial: Biped Character in 3D Studio Max 7, Easy Animation
Tutorial: Biped Character in 3D Studio Max 7, Easy Animation Written by: Ricardo Tangali 1. Introduction:... 3 2. Basic control in 3D Studio Max... 3 2.1. Navigating a scene:... 3 2.2. Hide and Unhide
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
DEVELOPING CONTRACT - DRIVEN WEB SERVICES USING JDEVELOPER. The purpose of this tutorial is to develop a java web service using a top-down approach.
DEVELOPING CONTRACT - DRIVEN WEB SERVICES USING JDEVELOPER Purpose: The purpose of this tutorial is to develop a java web service using a top-down approach. Topics: This tutorial covers the following topics:
Pcounter Web Administrator User Guide - v2014-09-08. Pcounter Web Administrator User Guide Version 1.0
Pcounter Web Administrator User Guide - v2014-09-08 Pcounter Web Administrator User Guide Version 1.0 Table of Contents Table of Contents... 2 Overview... 3 Installation Prerequisites and Requirements...
Advantage Cloud Access: Microsoft Remote Desktop for Android
Advantage Cloud Access: Microsoft Remote Desktop for Android 2645 Townsgate Road, Suite 200 Westlake Village, CA 91361 Support: 800.888.8075 Fax: 805.497.4983 2013 Compulink Business Systems, Inc. All
e(fx)clipse - JavaFX Tooling and Runtime
e(fx)clipse - JavaFX Tooling and Runtime Tom Schindl - BestSolution Systemhaus GmbH Cluj June 2012 (c) Tom Schindl - BestSolution Systemhaus GmbH About Tom CEO BestSolution Systemhaus GmbH Eclipse Committer
Creating and Viewing Task Dependencies between Multiple Projects using Microsoft Project
Creating and Viewing Task Dependencies between Multiple Projects using Microsoft Project Preliminary 1. You must have Microsoft Project 2003 or higher installed to complete these procedures. 2. If necessary,
Pemrograman Dasar. Basic Elements Of Java
Pemrograman Dasar Basic Elements Of Java Compiling and Running a Java Application 2 Portable Java Application 3 Java Platform Platform: hardware or software environment in which a program runs. Oracle
JavaFX Session Agenda
JavaFX Session Agenda 1 Introduction RIA, JavaFX and why JavaFX 2 JavaFX Architecture and Framework 3 Getting Started with JavaFX 4 Examples for Layout, Control, FXML etc Current day users expect web user
1. To start Installation: To install the reporting tool, copy the entire contents of the zip file to a directory of your choice. Run the exe.
CourseWebs Reporting Tool Desktop Application Instructions The CourseWebs Reporting tool is a desktop application that lets a system administrator modify existing reports and create new ones. Changes to
Quick Start Guide. Microsoft OneNote 2013 looks different from previous versions, so we created this guide to help you minimize the learning curve.
Quick Start Guide Microsoft OneNote 2013 looks different from previous versions, so we created this guide to help you minimize the learning curve. Switch between touch and mouse If you re using OneNote
HammerDB Metrics. Introduction. Installation
HammerDB Metrics This guide gives you an introduction to monitoring system resources with HammerDB metrics. With HammerDB v2.18 metrics are available for monitoring CPU utilisation. Introduction... 1 Installation...
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
WACOM GESTURE GUIDE: USING TOUCH WITH WACOM PRODUCTS
1 WACOM GESTURE GUIDE: USING TOUCH WITH WACOM PRODUCTS Wacom products that support touch are designed to enhance the way you work. Touch enables you to interact with a computer using only your fingertips
Getting Started with Web Based Data Reporting. November, 2005
Getting Started with Web Based Data Reporting November, 2005 This is a brief overview describing how to use the Colorado EMS Data Collection web based reporting tool. It is not a comprehensive manual,
Remote Desktop Services Guide
Remote Desktop Services Guide ipad V 1.1 30/01/2013 i Contents Introduction... 1 Install and connect with ipad... 1 1. Download and Install Citrix Receiver... 2 2. RSA Authentication... 3 3. Setting up
Click on various options: Publications by Wizard Publications by Design Blank Publication
Click on various options: Publications by Wizard Publications by Design Blank Publication Select the Blank Publications Tab: Choose a blank full page Click on Create New Page Insert > Page Select the number
Introduction to Computers: Session 3 Files, Folders and Windows
Introduction to Computers: Session 3 Files, Folders and Windows Files and folders Files are documents you create using a computer program. For example, this document is a file, made with a program called
Introduction to Java
Introduction to Java The HelloWorld program Primitive data types Assignment and arithmetic operations User input Conditional statements Looping Arrays CSA0011 Matthew Xuereb 2008 1 Java Overview A high
idvr-pro Viewer Software for Mac User Manual ver 0.1
idvr-pro Viewer Software for Mac User Manual ver 0.1 1 Contents 1. Introduction... Error! Bookmark not defined. 1.1 Summary... Error! Bookmark not defined. 2. Install... Error! Bookmark not defined. 2.1
The following program is aiming to extract from a simple text file an analysis of the content such as:
Text Analyser Aim The following program is aiming to extract from a simple text file an analysis of the content such as: Number of printable characters Number of white spaces Number of vowels Number of
Quick Start Guide. Microsoft OneNote 2013 looks different from previous versions, so we created this guide to help you minimize the learning curve.
Quick Start Guide Microsoft OneNote 2013 looks different from previous versions, so we created this guide to help you minimize the learning curve. Switch between touch and mouse If you re using OneNote
Source code security testing
Source code security testing Simone Riccetti EMEA PSS Security Services All information represents IBM's current intent, is subject to change or withdrawal without notice, and represents only IBM ISS goals
Umbraco Content Management System (CMS) User Guide
Umbraco Content Management System (CMS) User Guide Content & media At the bottom-left of the screen you ll see 2 main sections of the CMS Content and Media. Content is the section that displays by default
Solar-Generation Data Visualization Software Festa Operation Manual
Solar-Generation Data Visualization Software Festa Operation Manual Please be advised that this operation manual is subject to change without notice. FL-003 CONTENTS INTRODUCTION Chapter1: Basic Operations
USER CONVERSION P3, SURETRAK AND MICROSOFT PROJECT ASTA POWERPROJECT PAUL E HARRIS EASTWOOD HARRIS
P.O. Box 4032 EASTWOOD HARRIS PTY LTD Tel 61 (0)4 1118 7701 Doncaster Heights ACN 085 065 872 Fax 61 (0)3 9846 7700 Victoria 3109 Project Management Systems Email: [email protected] Australia Software
Getting Started with Telerik Data Access. Contents
Contents Overview... 3 Product Installation... 3 Building a Domain Model... 5 Database-First (Reverse) Mapping... 5 Creating the Project... 6 Creating Entities From the Database Schema... 7 Model-First
Introduction to Entity Beans
Introduction to Entity Beans An example: part 1-the server La struttura dei files packages Client.class jndi.properties packages Jboss ejb.jar.java ejb-jar.xml jboss.sml 1 1 structure of the jar file In
Problem 1 (1.5 points)
Leganés, June 17th, 2014 Time: 120 min Systems Programming Extraordinary Call (Problems) Grade: 5 points out of 10 from the exam Problem 1 (1.5 points) City councils apply two types of municipal taxes
Parallels Remote Application Server
Parallels Remote Application Server Parallels Client for Windows Phone User's Guide v15 Copyright 1999-2016 Parallels IP Holdings GmbH and its affiliates. All rights reserved. Parallels IP Holdings GmbH
Take Pictures on your Android Tablet or Phone
Take Pictures on your Android Tablet or Phone Google Camera App Free app you can install from the Play store Take a photo Tap here to take a photo Zoom out: Pinch two fingers together on the screen. Zoom
WebViewer User Guide. version 2.1.0. 2002-2015 PDFTron Systems, Inc. 1 of 13
WebViewer User Guide version 2.1.0 2002-2015 PDFTron Systems, Inc. 1 of 13 Table of Contents Introduction Desktop HTML5 Toolbar Menu Toolbar Buttons Page Navigation Display Modes Tool Modes Annotation
1) Which of the following is a constant, according to Java naming conventions? a. PI b. Test c. x d. radius
Programming Concepts Practice Test 1 1) Which of the following is a constant, according to Java naming conventions? a. PI b. Test c. x d. radius 2) Consider the following statement: System.out.println("1
Teradata SQL Assistant Version 13.0 (.Net) Enhancements and Differences. Mike Dempsey
Teradata SQL Assistant Version 13.0 (.Net) Enhancements and Differences by Mike Dempsey Overview SQL Assistant 13.0 is an entirely new application that has been re-designed from the ground up. It has been
Knocker main application User manual
Knocker main application User manual Author: Jaroslav Tykal Application: Knocker.exe Document Main application Page 1/18 U Content: 1 START APPLICATION... 3 1.1 CONNECTION TO DATABASE... 3 1.2 MODULE DEFINITION...
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
Managing your Joomla! 3 Content Management System (CMS) Website Websites For Small Business
2015 Managing your Joomla! 3 Content Management System (CMS) Website Websites For Small Business This manual will take you through all the areas that you are likely to use in order to maintain, update
How to Install Java onto your system
How to Install Java onto your system 1. In your browser enter the URL: Java SE 2. Choose: Java SE Downloads Java Platform (JDK) 7 jdk-7- windows-i586.exe. 3. Accept the License Agreement and choose the
Setting up Wireless ipad Control of your DEWETRON Computer-based System
Setting up Wireless ipad Control of your DEWETRON Computer-based System There are a few important things that you need to do in order to use remote desktop applications, such as the itap RDP on the new
Writer Guide. Chapter 15 Using Forms in Writer
Writer Guide Chapter 15 Using Forms in Writer Copyright This document is Copyright 2005 2008 by its contributors as listed in the section titled Authors. You may distribute it and/or modify it under the
Getting Started with Internet Explorer 10
Getting Started with Internet Explorer 10 Objectives Understand Web browsers Explore the browser View and navigate Web pages Use tabbed browsing Objectives Save favorite Web pages Browse safely Search
Canterbury Maps Quick Start - Drawing and Printing Tools
Canterbury Maps Canterbury Maps Quick Start - Drawing and Printing Tools Quick Start Guide Standard GIS Viewer 2 Canterbury Maps Quick Start - Drawing and Printing Tools Introduction This document will
Chapter 15 Using Forms in Writer
Writer Guide Chapter 15 Using Forms in Writer OpenOffice.org Copyright This document is Copyright 2005 2006 by its contributors as listed in the section titled Authors. You can distribute it and/or modify
System performance monitoring in RTMT
System performance monitoring in RTMT About performance monitoring in RTMT, page 1 System summary and server status monitoring, page 3 IM and Presence and Cisco Jabber summary monitoring, page 6 About
WA2099 Introduction to Java using RAD 8.0 EVALUATION ONLY. Student Labs. Web Age Solutions Inc.
WA2099 Introduction to Java using RAD 8.0 Student Labs Web Age Solutions Inc. 1 Table of Contents Lab 1 - The HelloWorld Class...3 Lab 2 - Refining The HelloWorld Class...20 Lab 3 - The Arithmetic Class...25
OPPO MediaControl HD App: Handy touch control adds more fun to home theatre enjoyment
OPPO MediaControl HD App: Handy touch control adds more fun to home theatre enjoyment Designed for OPPO Blu-ray players, the recently upgraded MediaControl HD app incorporates functions of an IR remote
WEB SERVICES TECHNICAL GUIDE FOR DEVELOPERS
WEB SERVICES TECHNICAL GUIDE FOR DEVELOPERS 1. Introduction This Technical Manual considers a development project that need to integrate with the Web Services Central Bank of Chile provides, to obtain
This Quick Reference Sheet covers the most common technical issues that may be encountered.
CIS Quick Reference Sheet Overview This Quick Reference Sheet covers the most common technical issues that may be encountered. Things You Need To Know The Water Corporation Contractor Induction system
SAHARA DIGITAL8 RESPONSIVE MAGENTO THEME
SAHARA DIGITAL8 RESPONSIVE MAGENTO THEME This document is organized as follows: Chater I. Install ma_sahara_digital8 template Chapter II. Features and elements of the template Chapter III. List of extensions
WHAT S NEW IN OBIEE 11.1.1.7
Enterprise Data Management OBI Author Training, March 2015 WHAT S NEW IN OBIEE 11.1.1.7 NEW PRESENTATION FEATURES VIEWS 1) Recommended Visualizations Feature When you create a new view, OBIEE looks at
UNIVERSITY OF CALGARY Information Technologies WEBFORMS DRUPAL 7 WEB CONTENT MANAGEMENT
UNIVERSITY OF CALGARY Information Technologies WEBFORMS DRUPAL 7 WEB CONTENT MANAGEMENT Table of Contents Creating a Webform First Steps... 1 Form Components... 2 Component Types.......4 Conditionals...
WA Manager Alarming System Management Software Windows 98, NT, XP, 2000 User Guide
WA Manager Alarming System Management Software Windows 98, NT, XP, 2000 User Guide Version 2.1, 4/2010 Disclaimer While every effort has been made to ensure that the information in this guide is accurate
Quick Start Guide: Mac vpad September 2007
Quick Start Guide: Mac vpad September 2007 Toll-Free: 866-746-3015 Page 1 of 23 www.turningtechnologies.com Installing vpad 1. Request the vpad download from the Downloads section of www.turningtechnologies.com.
Windows Movie Maker 2012
Windows Movie Maker 2012 Open Windows Movie Maker A shortcut for Movie Maker should be on the desktop, but if it is not, you can search for the program by touching the right edge of the screen and swiping
Keep your search simple. Only the last name is required. First name and Phone are optional.
Creating a new Parts Invoice A Part Invoice is used to record part sales to a customer. When opening a new Parts Invoice, Dealer Logic will assign the next Invoice Number. The date will be the date the
Image Registration. Using Quantum GIS
Using Quantum GIS Tutorial ID: IGET_GIS_004 This tutorial has been developed by BVIEER as part of the IGET web portal intended to provide easy access to geospatial education. This tutorial is released
LAB 1. Familiarization of Rational Rose Environment And UML for small Java Application Development
LAB 1 Familiarization of Rational Rose Environment And UML for small Java Application Development OBJECTIVE AND BACKGROUND The purpose of this first UML lab is to familiarize programmers with Rational
Corso: Mastering Microsoft Project 2010 Codice PCSNET: MSPJ-11 Cod. Vendor: 50413 Durata: 3
Corso: Mastering Microsoft Project 2010 Codice PCSNET: MSPJ-11 Cod. Vendor: 50413 Durata: 3 Obiettivi Comprendere la disciplina del project management in quanto si applica all'utilizzo di Project. Apprendere
Changing How the Mouse Works in Windows 7
Changing How the Mouse Works in Windows 7 Mada Assistive Technology Center Tel: 00 974 44594050 Fax: 00 974 44594051 Email: [email protected] Pen Introduction There are several ways to adjust the mouse
JustClust User Manual
JustClust User Manual Contents 1. Installing JustClust 2. Running JustClust 3. Basic Usage of JustClust 3.1. Creating a Network 3.2. Clustering a Network 3.3. Applying a Layout 3.4. Saving and Loading
Task Card #2 SMART Board: Notebook
Task Card #2 SMART Board: Notebook Objectives: Participants will learn how to utilize the SMART Notebook. Table of Contents: Launching The SMART Notebook Page 1 Entering Text Page 1 Top Toolbar Page 2
Basic Computer Skills for Beginners. Mesa Regional Family History Center
Basic Computer Skills for Beginners Mesa Regional Family History Center Know your Keyboard Most keys on the keyboard are the same as an electric typewriter. The four arrows (lower right side) move the
Misurazione performance. Processing time. Performance. Throughput. Francesco Marchioni Mastertheboss.com Javaday IV Roma 30 gennaio 2010
Misurazione performance Processing time Performance Throughput Processing time Network Network DB Processing time Throughput Quantità di dati trasmessi x secondo Tuning Areas Tuning Java Virtual Machine
Ohio University Computer Services Center August, 2002 Crystal Reports Introduction Quick Reference Guide
Open Crystal Reports From the Windows Start menu choose Programs and then Crystal Reports. Creating a Blank Report Ohio University Computer Services Center August, 2002 Crystal Reports Introduction Quick
Chapter 2 Introduction to Java programming
Chapter 2 Introduction to Java programming 1 Keywords boolean if interface class true char else package volatile false byte final switch while throws float private case return native void protected break
Appointment Scheduler
EZClaim Appointment Scheduler User Guide Last Update: 11/19/2008 Copyright 2008 EZClaim This page intentionally left blank Contents Contents... iii Getting Started... 5 System Requirements... 5 Installing
How To Use The Arles Image Page Creator On Pc Or Mac Or Macbook Or Macintosh (Or Mac) With A Web Browser (Or Ipc) With An Ipc (Or Pc Or Ipc).Html (Or Your Mac)
Arles Image Web Page Creator User Manual I Arles Image Web Page Creator Help Table of Contents Part I About 1 Part II Getting Started Creating a Image Web Page Gallery 1 Part III Order 2 Part IV Arles
Email Address Collector. - Tutorial -
Email Address Collector - Tutorial - How to extract email addresses from mail folders 1. Open Email Address Collector Once the product is installed and your license is activated, you can start extracting
Mobile Technique and Features
Smart evision International, Inc. Mobile Technique and Features Smart evision White Paper Prepared By: Martin Hu Last Update: Oct 16, 2013 2013 1 P a g e Overview Mobile Business intelligence extends and
Main Points. File layout Directory layout
File Systems Main Points File layout Directory layout File System Design Constraints For small files: Small blocks for storage efficiency Files used together should be stored together For large files:
Contents. Stationery Greeting Cards at a glance... 3. Stationery Greeting Cards in Mail... 4. Installing Stationery Greeting Cards...
Greeting Cards Contents Stationery Greeting Cards at a glance... 3 Stationery Greeting Cards in Mail... 4 Installing Stationery Greeting Cards... 5 Downloading & installing the app... 5 Restoring your
-ipad 2: Quick Reference Guide-
1 -ipad 2: Quick Reference Guide- The Apple ipad 2 is lighter and has a faster processor than the original ipad. It includes features of the original plus front and rear cameras, advanced photo editing,
Siemens Applied Automation Page 1 11/26/03 9:57 PM. Maxum ODBC 3.11
Siemens Applied Automation Page 1 Maxum ODBC 3.11 Table of Contents Installing the Polyhedra ODBC driver... 2 Using ODBC with the Maxum Database... 2 Microsoft Access 2000 Example... 2 Access Example (Prior
Generative Drafting. Page 1 1997 2001 DASSAULT SYSTEMES. IBM Product Lifecycle Management Solutions / Dassault Systemes
Generative Drafting Page 1 Tutorial Objectives Description This Tutorial is an introduction to Generative Drafting. Message To show how CATIA V5 allows the user to automatically generate associative drafting
Java 7 Recipes. Freddy Guime. vk» (,\['«** g!p#« Carl Dea. Josh Juneau. John O'Conner
1 vk» Java 7 Recipes (,\['«** - < g!p#«josh Juneau Carl Dea Freddy Guime John O'Conner Contents J Contents at a Glance About the Authors About the Technical Reviewers Acknowledgments Introduction iv xvi
TakeMySelfie ios App Documentation
TakeMySelfie ios App Documentation What is TakeMySelfie ios App? TakeMySelfie App allows a user to take his own picture from front camera. User can apply various photo effects to the front camera. Programmers
LogMeIn Ignition for Android User Guide
LogMeIn Ignition for Android User Guide Contents About LogMeIn Ignition...3 Getting Started with LogMeIn Ignition...3 How to Create a LogMeIn Account for Use with Ignition...4 How to Add Computers to your
Proteus Telephone Management System
Proteus Telephone Management System User Manual Software Version 6 Manual Version 1.1 Page - 1 - INDEX 1. Logging Onto Proteus TMS 3 2. Reports Screen 4 2.1 Entering Advance Report Screen 4 3. Setting
DIPLOMADO DE JAVA - OCA
DIPLOMADO DE JAVA - OCA TABLA DE CONTENIDO INTRODUCCION... 3 ESTRUCTURA DEL DIPLOMADO... 4 Nivel I:... 4 Fundamentals of the Java Programming Language Java SE 7... 4 Introducing the Java Technology...
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:
HTC Hotline Support: 1866-449-8358 7 days a week 8am EST to 1am EST. Your HTC Desire 601 User guide
HTC Hotline Support: 1866-449-8358 7 days a week 8am EST to 1am EST Your HTC Desire 601 User guide 21 Phone setup and transfer Home screen Your Home screen is where you make HTC Desire 601 your own. After
Help. Contents Back >>
Contents Back >> Customizing Opening the Control Panel Control Panel Features Tabs Control Panel Lists Control Panel Buttons Customizing Your Tools Pen and Airbrush Tabs 2D Mouse and 4D Mouse Tabs Customizing
Scanner sc = new Scanner(System.in); // scanner for the keyboard. Scanner sc = new Scanner(System.in); // scanner for the keyboard
INPUT & OUTPUT I/O Example Using keyboard input for characters import java.util.scanner; class Echo{ public static void main (String[] args) { Scanner sc = new Scanner(System.in); // scanner for the keyboard
ImagineWorldClient Client Management Software. User s Manual. (Revision-2)
ImagineWorldClient Client Management Software User s Manual (Revision-2) (888) 379-2666 US Toll Free (905) 336-9665 Phone (905) 336-9662 Fax www.videotransmitters.com 1 Contents 1. CMS SOFTWARE FEATURES...4
J a v a Quiz (Unit 3, Test 0 Practice)
Computer Science S-111a: Intensive Introduction to Computer Science Using Java Handout #11 Your Name Teaching Fellow J a v a Quiz (Unit 3, Test 0 Practice) Multiple-choice questions are worth 2 points
BROWSER COMPATIBILITY GUIDE
BROWSER COMPATIBILITY GUIDE FOR PEOPLESOFT APPLICATIONS (PEOPLETOOLS 8.53 8.54) Title: Contributors: PeopleTools Information Development and PeopleTools Development teams Version: 17 (PeopleTools 8.54)
