Pro Javafx Platform.Pdf

Total Page:16

File Type:pdf, Size:1020Kb

Pro Javafx Platform.Pdf THE EXPERT’S VOICE® IN JAVA™ TECHNOLOGY Covers the full JavaFX™™ 1.1. 2 2 platform Pro ™ JavaFX Platform Script, Desktop and Mobile RIA with Java™ Technology James L. Weaver, Weiqi Gao, Ph.D., Stephen Chin, and Dean Iverson Foreword by Danny Coward Chief Architect, Client Software, Sun Microsystems Download at Boykma.Com Pro JavaFX™ Platform Script, Desktop and Mobile RIA with Java™ Technology / First Edition James L. Weaver, Weiqi Gao, Ph.D., Stephen Chin, and Dean Iverson Download at Boykma.Com Pro JavaFX™ Platform: Script, Desktop and Mobile RIA with Java™ Technology Copyright © 2009 by James L. Weaver, Weiqi Gao, Ph.D., Stephen Chin, and Dean Iverson All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher. ISBN-13 (pbk): 978-1-4302-1875-3 ISBN-13 (electronic): 978-1-4302-1876-0 Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1 Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. Java™ and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc., in the US and other countries. Apress, Inc., is not affiliated with Sun Microsystems, Inc., and this book was writ- ten without endorsement from Sun Microsystems, Inc. Lead Editor: Steve Anglin Development Editor: Matthew Moodie Editorial Board: Clay Andres, Steve Anglin, Mark Beckner, Ewan Buckingham, Tony Campbell, Gary Cornell, Jonathan Gennick, Michelle Lowman, Matthew Moodie, Jeffrey Pepper, Frank Pohlmann, Ben Renow-Clarke, Dominic Shakeshaft, Matt Wade, Tom Welsh Project Manager: Richard Dal Porto Copy Editors: Liz Welch, Ami Knox Associate Production Director: Kari Brooks-Copony Production Editor: Kelly Gunther Compositor: Patrick Cunningham Proofreader: Nancy Sixsmith Indexer: Brenda Miller Artist: April Milne Cover Designer: Kurt Krames Manufacturing Director: Tom Debolski Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax 201-348-4505, e-mail kn`ano)ju<olnejcan)o^i*_ki, or visit dppl6++sss*olnejcankjheja*_ki. For information on translations, please contact Apress directly at 2855 Telegraph Avenue, Suite 600, Berkeley, CA 94705. Phone 510-549-5930, fax 510-549-5939, e-mail ejbk<]lnaoo*_ki, or visit dppl6++sss* ]lnaoo*_ki. Apress and friends of ED books may be purchased in bulk for academic, corporate, or promotional use. eBook versions and licenses are also available for most titles. For more information, reference our Special Bulk Sales–eBook Licensing web page at dppl6++sss*]lnaoo*_ki+ejbk+^qhgo]hao. The information in this book is distributed on an “as is” basis, without warranty. Although every precau- tion has been taken in the preparation of this work, neither the author(s) nor Apress shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indi- rectly by the information contained in this work. The source code for this book is available to readers at dppl6++sss*]lnaoo*_ki. You may need to answer questions pertaining to this book in order to successfully download the code. Download at Boykma.Com Contents at a Glance Foreword ........................................................................xv About the Authors ................................................................xix Acknowledgments ...............................................................xxiii Introduction .................................................................... xxv CHAPTER 1 Getting a Jump Start in JavaFX ..................................1 CHAPTER 2 Taking a Closer Look at the JavaFX Script Language .............43 CHAPTER 3 Creating a User Interface in JavaFX .............................99 CHAPTER 4 Using Functions, Classes, and Other Advanced Features ........167 CHAPTER 5 Creating Custom UI Components and Charts in JavaFX ..........239 CHAPTER 6 Using the Media Classes .......................................289 CHAPTER 7 Dynamically Laying Out Nodes in the User Interface .............313 CHAPTER 8 Extending JavaFX with Third-Party Libraries ....................367 CHAPTER 9 Building a Professional JavaFX Application .....................449 CHAPTER 10 Developing JavaFX Mobile Applications ........................495 APPENDIX Keywords and Operators ......................................521 INDEX .......................................................................525 iii Download at Boykma.Com Download at Boykma.Com Contents Foreword ........................................................................xv About the Authors ................................................................xix Acknowledgments ...............................................................xxiii Introduction .................................................................... xxv CHAPTER 1 Getting a Jump Start in JavaFX .............................1 JavaFX Can’t Bring Rich-Client Java Back by Itself ....................2 A Brief History of JavaFX ..........................................3 Going to the Source: Sun’s JavaFX Web Sites ........................5 Accessing the JavaFX SDK API ................................6 Obtaining the JavaFX SDK ....................................7 JavaFX Production Suite ......................................7 Other Available Tools .........................................7 Developing Your First JavaFX Program: “Hello Earthrise” ..............8 Compiling and Running from the Command Line .................8 Understanding the Hello Earthrise Program .....................9 Building and Running the Program with NetBeans ..............19 Deploying JavaFX Applications ....................................22 Deploying JavaFX Applications with Java Web Start .............22 Deploying JavaFX Applets ...................................24 Developing Your Second JavaFX Program: “More Cowbell!” ..........27 Building and Running the Audio Configuration Program ..........28 The Behavior of the Audio Configuration Program ...............29 Understanding the Audio Configuration Program ................29 Surveying JavaFX Features .......................................38 Summary .......................................................40 Resources ......................................................41 v Download at Boykma.Com vi NCONTENTS CHAPTER 2 Taking a Closer Look at the JavaFX Script Language ....43 An Overview of JavaFX Script .....................................44 Understanding Variables, Values, and Their Types ...................44 Understanding Variable Names ...............................45 Understanding Variable Types ................................45 Understanding the Primitive Types .................................46 Understanding the Boolean Type .............................46 Understanding the Integer Type ..............................48 Understanding the Character Type ............................50 Understanding the Byte, Short, and Long Types ................51 Understanding the Number Type ..............................52 Understanding the Float and Double Types .....................54 Understanding the String Type ...............................54 Understanding the Duration Type .............................57 Working with Sequences .........................................58 Understanding Sequence Types ..............................58 Constructing Sequences Using Explicit Sequence Expressions ....60 Constructing Numeric Sequences Using Range Expressions ......60 Manipulating Sequences ....................................62 Understanding Sequence Comprehension ......................68 Using Utility Functions in javafx.util.Sequences .................70 JavaFX Script Expressions ........................................73 Understanding Expressions and Their Types ...................73 Understanding the Block Expression ..........................74 Understanding Precedence and Groupings .....................74 Understanding the Expression Separator .......................75 Understanding Variable and Constant Declarations ..............75 Understanding the Assignment Operator .......................76 Understanding the Compound Assignment Operators ............77 Understanding the Relational Operators .......................78 Understanding the While Expression ..........................80 Revisiting the For Expression .................................81 Understanding the If Expression ..............................82 Understanding Object Literals .....................................84 Understanding Classes and Objects ...........................84 The Object Literal Expression ................................85 Manipulating Objects ........................................87 Creating Java Objects with the new Operator ...................90 The Making of a Declarative Syntax ...........................90 Download at Boykma.Com NCONTENTS vii Working with Data Bindings .......................................91 Understanding the Bind Expression ...........................91 Understanding Bidirectional Bindings and Lazy Bindings .........94 Summary .......................................................97
Recommended publications
  • Rich Internet Applications
    Rich Internet Applications (RIAs) A Comparison Between Adobe Flex, JavaFX and Microsoft Silverlight Master of Science Thesis in the Programme Software Engineering and Technology CARL-DAVID GRANBÄCK Department of Computer Science and Engineering CHALMERS UNIVERSITY OF TECHNOLOGY UNIVERSITY OF GOTHENBURG Göteborg, Sweden, October 2009 The Author grants to Chalmers University of Technology and University of Gothenburg the non-exclusive right to publish the Work electronically and in a non-commercial purpose make it accessible on the Internet. The Author warrants that he/she is the author to the Work, and warrants that the Work does not contain text, pictures or other material that violates copyright law. The Author shall, when transferring the rights of the Work to a third party (for example a publisher or a company), acknowledge the third party about this agreement. If the Author has signed a copyright agreement with a third party regarding the Work, the Author warrants hereby that he/she has obtained any necessary permission from this third party to let Chalmers University of Technology and University of Gothenburg store the Work electronically and make it accessible on the Internet. Rich Internet Applications (RIAs) A Comparison Between Adobe Flex, JavaFX and Microsoft Silverlight CARL-DAVID GRANBÄCK © CARL-DAVID GRANBÄCK, October 2009. Examiner: BJÖRN VON SYDOW Department of Computer Science and Engineering Chalmers University of Technology SE-412 96 Göteborg Sweden Telephone + 46 (0)31-772 1000 Department of Computer Science and Engineering Göteborg, Sweden, October 2009 Abstract This Master's thesis report describes and compares the three Rich Internet Application !RIA" frameworks Adobe Flex, JavaFX and Microsoft Silverlight.
    [Show full text]
  • Javafx in Action by Simon Morris
    Covers JavaFX v1.2 IN ACTION Simon Morris SAMPLE CHAPTER MANNING JavaFX in Action by Simon Morris Chapter 1 Copyright 2010 Manning Publications brief contents 1 ■ Welcome to the future: introducing JavaFX 1 2 ■ JavaFX Script data and variables 15 3 ■ JavaFX Scriptcode and structure 46 4 ■ Swing by numbers 79 5 ■ Behind the scene graph 106 6 ■ Moving pictures 132 7 ■ Controls,charts, and storage 165 8 ■ Web services with style 202 9 ■ From app to applet 230 10 ■ Clever graphics and smart phones 270 11 ■ Best of both worlds: using JavaFX from Java 300 appendix A ■ Getting started 315 appendix B ■ JavaFX Script: a quick reference 323 appendix C ■ Not familiar with Java? 343 appendix D ■ JavaFX and the Java platform 350 vii Welcome to the future: introducing JavaFX This chapter covers ■ Reviewing the history of the internet-based application ■ Asking what promise DSLs hold for UIs ■ Looking at JavaFX Script examples ■ Comparing JavaFX to its main rivals “If the only tool you have is a hammer, you tend to see every problem as a nail,” American psychologist Abraham Maslow once observed. Language advocacy is a popular pastime with many programmers, but what many fail to realize is that programming languages are like tools: each is good at some things and next to useless at others. Java, inspired as it was by prior art like C and Smalltalk, sports a solid general-purpose syntax that gets the job done with the minimum of fuss in the majority of cases. Unfortunately, there will always be those areas that, by their very nature, demand something a little more specialized.
    [Show full text]
  • Rapid Prototyping for Virtual Environments
    Old Dominion University ODU Digital Commons Electrical & Computer Engineering Theses & Dissertations Electrical & Computer Engineering Winter 2008 Rapid Prototyping for Virtual Environments Emre Baydogan Old Dominion University Follow this and additional works at: https://digitalcommons.odu.edu/ece_etds Part of the Computer Sciences Commons, and the Electrical and Computer Engineering Commons Recommended Citation Baydogan, Emre. "Rapid Prototyping for Virtual Environments" (2008). Doctor of Philosophy (PhD), Dissertation, Electrical & Computer Engineering, Old Dominion University, DOI: 10.25777/pb9g-mv96 https://digitalcommons.odu.edu/ece_etds/45 This Dissertation is brought to you for free and open access by the Electrical & Computer Engineering at ODU Digital Commons. It has been accepted for inclusion in Electrical & Computer Engineering Theses & Dissertations by an authorized administrator of ODU Digital Commons. For more information, please contact [email protected]. RAPID PROTOTYPING FOR VIRTUAL ENVIRONMENTS by Emre Baydogan B.S. June 1999, Marmara University, Turkey M.S. June 2001, Marmara University, Turkey A Dissertation Submitted to the Faculty of Old Dominion University in Partial Fulfillment of the Requirement for the Degree of DOCTOR OF PHILOSOPHY ELECTRICAL AND COMPUTER ENGINEERING OLD DOMINION UNIVERSITY December 2008 Lee A. Belfore, H (Director) K. Vijayan Asari Jesmca R. Crouch ABSTRACT RAPID PROTOTYPING FOR VIRTUAL ENVIRONMENTS Emre Baydogan Old Dominion University, 2008 Director: Dr. Lee A. Belfore, II Development of Virtual Environment (VE) applications is challenging where appli­ cation developers are required to have expertise in the target VE technologies along with the problem domain expertise. New VE technologies impose a significant learn­ ing curve to even the most experienced VE developer. The proposed solution relies on synthesis to automate the migration of a VE application to a new unfamiliar VE platform/technology.
    [Show full text]
  • Java and C I CSE 351 Autumn 2016
    L26: JVM CSE351, Spring 2018 Java Virtual Machine CSE 351 Spring 2018 Model of a Computer “Showing the Weather” Pencil and Crayon on Paper Matai Feldacker-Grossman, Age 4 May 22, 2018 L26: JVM CSE351, Spring 2018 Roadmap C: Java: Memory & data Integers & floats car *c = malloc(sizeof(car)); Car c = new Car(); x86 assembly c->miles = 100; c.setMiles(100); c->gals = 17; c.setGals(17); Procedures & stacks float mpg = get_mpg(c); float mpg = Executables free(c); c.getMPG(); Arrays & structs Memory & caches Assembly get_mpg: Processes language: pushq %rbp Virtual memory movq %rsp, %rbp ... Memory allocation popq %rbp Java vs. C ret OS: Machine 0111010000011000 code: 100011010000010000000010 1000100111000010 110000011111101000011111 Computer system: 2 L26: JVM CSE351, Spring 2018 Implementing Programming Languages Many choices in how to implement programming models We’ve talked about compilation, can also interpret Interpreting languages has a long history . Lisp, an early programming language, was interpreted Interpreters are still in common use: . Python, Javascript, Ruby, Matlab, PHP, Perl, … Interpreter Your source code implementation Your source code Binary executable Interpreter binary Hardware Hardware 3 L26: JVM CSE351, Spring 2018 An Interpreter is a Program Execute (something close to) the source code directly Simpler/no compiler – less translation More transparent to debug – less translation Easier to run on different architectures – runs in a simulated environment that exists only inside the interpreter process . Just port the interpreter (program), not the program-intepreted Slower and harder to optimize 4 L26: JVM CSE351, Spring 2018 Interpreter vs. Compiler An aspect of a language implementation . A language can have multiple implementations . Some might be compilers and other interpreters “Compiled languages” vs.
    [Show full text]
  • Comparative Studies of 10 Programming Languages Within 10 Diverse Criteria Revision 1.0
    Comparative Studies of 10 Programming Languages within 10 Diverse Criteria Revision 1.0 Rana Naim∗ Mohammad Fahim Nizam† Concordia University Montreal, Concordia University Montreal, Quebec, Canada Quebec, Canada [email protected] [email protected] Sheetal Hanamasagar‡ Jalal Noureddine§ Concordia University Montreal, Concordia University Montreal, Quebec, Canada Quebec, Canada [email protected] [email protected] Marinela Miladinova¶ Concordia University Montreal, Quebec, Canada [email protected] Abstract This is a survey on the programming languages: C++, JavaScript, AspectJ, C#, Haskell, Java, PHP, Scala, Scheme, and BPEL. Our survey work involves a comparative study of these ten programming languages with respect to the following criteria: secure programming practices, web application development, web service composition, OOP-based abstractions, reflection, aspect orientation, functional programming, declarative programming, batch scripting, and UI prototyping. We study these languages in the context of the above mentioned criteria and the level of support they provide for each one of them. Keywords: programming languages, programming paradigms, language features, language design and implementation 1 Introduction Choosing the best language that would satisfy all requirements for the given problem domain can be a difficult task. Some languages are better suited for specific applications than others. In order to select the proper one for the specific problem domain, one has to know what features it provides to support the requirements. Different languages support different paradigms, provide different abstractions, and have different levels of expressive power. Some are better suited to express algorithms and others are targeting the non-technical users. The question is then what is the best tool for a particular problem.
    [Show full text]
  • Java FX and Java SE 6 Update N
    Java FX and Java SE 6 Update N Raghavan “Rags” N. Srinivas CTO, Technology Evangelism Sun Microsystems Inc. 1 Agenda • State of Java • Java FX • Java SE 6 update N • Future 2 How Much Java Technology Is Out There? • >91% of all PCs run Java platform* • ~77% of all Java technology-enabled PCs run Sun’s Java Platform, Standard Edition (Java SE platform)** • Distribution through PC OEMs > Nine of the top ten PC OEMs ship the Sun JRE software > Representing >60% of all shipped PCs > 58 white box vendors have signed JRE software redistribution agreements • Download/installs > ~44m installations / month for the last six months on Windows > >50M in Jan, Feb, April, 2007 * Omniture, April 2007 **Mapsolute/Map24.com, April 2007 3 Completed Java SE Platform Downloads Windows numbers only 55,000,000 50,000,000 45,000,000 40,000,000 35,000,000 30,000,000 25,000,000 20,000,000 15,000,000 10,000,000 5,000,000 0 1/2003 1/2004 1/2005 1/2006 1/2007 4 Agenda • State of Java • Java FX • Java SE 6 update N • Future 5 Update N and JavaFX Java Comes Home to the Consumer 6 JavaFX 7 JavaFX Features • Java FX Script • Scene graph • Media • HTML • Multiple Device 8 J a v a F X S c r i p t 9 JavaFX Script • Language > Simple data binding > Fast prototyping > Declarative GUIs and graphics > Easily programmed animations • Compiler > Interpreter (now): okay for demos > Compiler (soon): necessary for real applications 10 The Java GUI Quagmire • Java Swing and 2D APIs are very powerful and yet > Why does it take a long time to write GUI programs? > How can we avoid the
    [Show full text]
  • Desktop Java™ Technology
    Desktop Java™ Technology Thorsten Laux Chet Haase Sun Microsystems, Inc. TS-3160 2007 JavaOneSM Conference | Session TS-3160 | Goal Where We Are Where We’re Going 2007 JavaOneSM Conference | Session TS-3160 | 2 Agenda State of the Desktop World Where We Are Going Consumer JRE Release Future Platform Features 2007 JavaOneSM Conference | Session TS-3160 | 3 Agenda State of the Desktop World Where We Are Going Consumer JRE Release Future Platform Features 2007 JavaOneSM Conference | Session TS-3160 | 4 How Much Java Technology Is Out There? ● > 91% of all PCs run Java platform* ● ~ 77% of all Java technology-enabled PCs run Sun’s Java Platform, Standard Edition (Java SE platform)** ● Distribution through PC OEMs ● Nine of the top ten PC OEMs ship the JRE software ● Representing > 60% of all shipped PCs ● 58 white box vendors have signed JRE software redistribution agreements ● Download/installs ● ~ 44m installations/month for the last six months on Windows ● > 50M in January, February, April, 2007 * Omniture, April 2007 **Mapsolute/Map24.com, April 2007 2007 JavaOneSM Conference | Session TS-3160 | 5 Completed Java SE Platform Downloads Windows numbers only 55,000,000 50,000,000 45,000,000 40,000,000 35,000,000 30,000,000 25,000,000 20,000,000 15,000,000 10,000,000 5,000,000 0 1/2003 1/2004 1/2005 1/2006 1/2007 2007 JavaOneSM Conference | Session TS-3160 | 6 Where Does the Time Go? Evans Data Survey: Fall 2006 45 40 35 30 Desktop 25 Server Mobile 20 Others 15 10 5 0 Percentage of Java Development Time Spent Spring 05 Fall 05 Spring 06 Fall
    [Show full text]
  • A Performance Tale
    A Performance Tale The evolution of binding in JavaFX Robert Field Brian Goetz Sun Microsystems, Inc. Overview • This talk will chronicle our ongoing work on making JavaFX Script not only powerful and fun but fast > We'll focus specifically on one feature: binding > This is a work in progress... Sun Microsystems, Inc. 2 VM vs Language • The VM provides certain base services > Compiler is free to decide which to expose and which not > Compiler can build additional features atop these – we call these language fictions > Some language fictions have no runtime cost > Checked exceptions > Others are hard to implement efficiently > Dynamic dispatch in JRuby > Data binding in JavaFX Sun Microsystems, Inc. 3 VM vs Language JavaFX language fictions Java language Data binding fictions On-replace Triggers JVM Overloading Overloading features Enums Function values Generics Var init override Exceptions Exceptions+checked Exceptions Constructors Constructors+chaining Constructors Primitive types+ops Primitive types+ops Primitive types+ops Interfaces Interfaces Mixins Access control Access control New access control Object model Object model Object model Memory model Memory model Memory model Dynamic linking Dynamic linking Dynamic linking GC GC GC Sun Microsystems, Inc. 4 Typical implementation evolution • Most languages follow a fairly standard evolution > For simple things like 32-bit arithmetic, let the VM do it > For most language fictions, implement in a runtime library Sun Microsystems, Inc. 5 Language Fictions in Runtime • Implement fictions in a runtime library (usually written in Java) > Have compiler emit calls to the runtime > Fast time-to-implementation > Flexible > Testable • Problem with runtime-centric approach can be performance > People can try out the cool features > And then notice how slow they are > Go from fan mail to hate mail in almost no time..
    [Show full text]
  • Day 1 Key-Note
    DJ Anon Environment Two MacBookPro's on podiums Markof This event is about "Internet connected, multi-function devices." "we're going to multiply them because we're going to bring the costs down" Devices! on cellphones/devices "how do we open them? by opening all parts" John Gage [they're always talking about this stuf...really...what is going on with 2 billion handsets running Java sub-set: 1.8B phones Sun here...what's the revenue?] 1 hour of charging, 10 minutes on phone some solar panel thing "Of the grid, on the net" "this doesn't run Java, but it will soon" Go and meet new people while you're here conference judo everyone stand-up, and then shit down by # of years attending crowds, mobs, you, all that Web 2.0 internalized stuf Montage of "...without borders" "no rules except one: be open" Something diferent, something new, something [cool] community wait, what, did he just say "metro-sexual"? setting some context but there are boundaries technology as a catalyst the network is an unstoppable force mobile devices outsold computers 20-to-1 "enterprise ready with JRuby" open source, community, source- Glassfish example of system working code, reference year round-up "the point at which we're going to change the game a little bit with Glassfish" Martin Harriman VP marketing and biz dev multimedia, Ericsson Sun Java System Communications contribute some telcom, multi-media technology Application Server "who the heck would have thought that this boring telco guy would be standing up here Ericsson/Glassfish announcement at the Java rock concert.]
    [Show full text]
  • Javafx 8 Programming / Herb Schildt / 255-1 / Blind Folio: 1
    Oracle-Regular / Introducing JavaFX 8 Programming / Herb Schildt / 255-1 / Blind folio: 1 CHAPTER 1 JavaFX Fundamentals 01-ch01.indd 1 20/05/15 6:17 PM Oracle-Regular / Introducing JavaFX 8 Programming / Herb Schildt / 255-1 2 Introducing JavaFX 8 Programming n today’s computing environment the user interface is a key factor in determining a program’s success or failure. The reasons for this are easy to understand. First, Ithe look and feel of a program defines the initial user experience. Thus, it forms the user’s first impression—and first impressions matter because they often become lasting impressions. Second, the user interface is the way in which a user interacts with a program each time it is used. Therefore, the overall quality of a program is judged, in part, by the usability and appeal of its interface. To be successful, a user interface must be convenient, well organized, and consistent. It must also have one thing more: that “visual sparkle” that users have come to expect. For today’s Java programmer, JavaFX is the best way to provide such interfaces. JavaFX is a collection of classes and interfaces that defines Java’s modern graphical user interface (GUI). It can be used to create the types of GUIs demanded by rich client applications in the contemporary marketplace. JavaFX supplies a diverse set of controls, such as buttons, scroll panes, text fields, check boxes, trees, and tables, that can be tailored to fit nearly any application. Furthermore, effects, transforms, and animation can be employed to enhance the visual appeal of the controls.
    [Show full text]
  • Javafx Getting Started with Javafx Release 8 E50607-02
    JavaFX Getting Started with JavaFX Release 8 E50607-02 August 2014 Get started with JavaFX by getting an overview of the available features, learning the architecture, and creating simple applications that introduce you to layouts, CSS, FXML, visual effects, and animation. JavaFX Getting Started with JavaFX, Release 8 E50607-02 Copyright © 2008, 2014, Oracle and/or its affiliates. All rights reserved. Contributing Author: Jasper Potts, Nancy Hildebrandt, Joni Gordon, Cindy Castillo This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable: U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs.
    [Show full text]
  • Javafx 2.0 Dr
    1 <Insert Picture Here> JavaFX 2.0 Dr. Stefan Schneider Chief Technologist ISV Engineering The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. 3 JavaFX 2.0 Agenda • Overview <Insert Picture Here> • Details • Architecture • Roadmap 4 What is JavaFX? 5 JavaFX is the evolution of the Java rich client platform, designed to address the needs of today’s and tomorrow’s customers. 6 Who is JavaFX for? 7 Target Developers • Current Java Developers • Former Java Developers • Web Developers • New Developers 8 What makes JavaFX special? 9 JavaFX defines itself as being a well designed, cross platform application development platform. It is fast. It is flexible. It delivers exceptional value to developers and end users. It is competitive. Most importantly, it leverages the massive existing Java eco system. Nobody else offers the complete package – exceptional developer experience, user experience, cross platform development and massive ecosystem. 10 TIOBE Index Popularity of a Language 11 The Java Eco System • Over 9 million Java developers • Java is taught in universities around the globe • Every major company uses Java 12 Value Proposition for Client Java • Leverage existing Java investment • Easier to find and train developers • Reduce risk by reducing complexity 13 Why is JavaFX important? 14 JavaFX encourages companies to use Java on the client and the server.
    [Show full text]