Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
3Activity
0 of .
Results for:
No results containing your search query
P. 1
JavaFx1112

JavaFx1112

Ratings: (0)|Views: 54 |Likes:
Published by choudharynafees

More info:

Published by: choudharynafees on Jun 21, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

11/06/2012

pdf

text

original

 
2/10/09 3:35 PMavaFX Tutorial | Develop Applications for Desktop and Mobile | Java FXPage 1 of 1
Sun
 
Java
 
Solaris
 
Communities
 
My SDN Account
 
Join SDNSDN Home > Java Technology > JavaFX Technology >
JavaFX Technology
 Print-friendly Version Download tutorial
« Previous
 
1
|2|3|4|5|6|7|8|
Next »
 
This tutorial presents basic concepts for creating graphical user interfaces, including declarativesyntax, nodes, shapes, visual effects, animation, layout, and event handling. Before starting thistutorial, learn about core concepts and language syntax from theLearning the JavaFX ScriptProgramming Language.
 
Note: For instructions on downloading and installing the necessary software, seeGettingStarted With JavaFX Scriptof the Language Tutorial.
 
The lessons in this tutorial include:Lesson 1: Quick JavaFX GUI Overview— A visual guide to basic features available through theJavaFX API. The screen shots in this lesson display graphical objects, UI components, effects, textpatterns, color schemes, and layout patterns.Lesson 2: Using Declarative Syntax— An introduction to the declarative syntax of JavaFX Scriptprogramming language. A step-by-step procedure describes how to create a simple GUIapplication.Lesson 3: Presenting UI Objects in a Graphical Scene— A description of basic concepts in thenode architecture and the scene graph that underly the JavaFX Script programming language. Youwill build a graphical scene of an application, create a group of nodes, and apply a transformation tothe group.Lesson 4: Creating Graphical Objects— An introduction to creating sophisticated graphical objects.You will create a record button for an audio player with a reflection effect.Lesson 5: Applying Data Binding to UI Objects— A description of the data binding mechanism witha practical example.Lesson 6: Laying Out GUI Elements — An explanation of how to layout UI elements in JavaFXapplications with an example that illustrates the approach and techniques.Lesson 7: Creating Animated Objects— An explanation of how to build a graphical object and thenanimate it using linear interpolation, a type of key frame animation supported by JavaFX libraries.Lesson 8: Bringing Interactivity to GUI Elements— A description of how to create interactiveapplications. A step-by step procedure shows how to add behavior to a button application viahandling mouse events.
 
« Previous
 
1
|2|3|4|5|6|7|8|
Next »
 
About Sun|About This Site|Newsletters|Contact Us| EmploymentHow to Buy|Licensing|Terms of Use|Privacy| Trademarks Copyright 1994-2009 Sun Microsystems, Inc.
A Sun Developer NetworkSite
Unless otherwise licensed,code in all technical manualsherein (including articles,FAQs, samples) is providedunder thisLicense.Sun Developer RSS Feeds
Tutorial Contents
 
Tutorial Overview1. Quick JavaFX GUIOverview2. Using DeclarativeSyntax3. Presenting UI Objects ina Graphical Scene4. Creating GraphicalObjects5. Applying Data Bindingto UI Objects6. Laying Out GUIElements7. Creating AnimatedObjects8. Bringing Interactivity toGUI Elements
Building GUI Applications With JavaFX - Tutorial Overview
 
2/10/09 3:44 PMavaFX Tutorial | Intro to GUI Applications for Desktop and MobilePage 1 of 10
http://java.sun.com/javafx/1/tutorials/ui/overview/Feb 10, 2009
 
Building GUI Applications With JavaFX
Lesson 1: Quick JavaFX GUI Overview
 
Download tutorial
« Previous
 
1
|2|3|4|5|6|7|8|
Next »
 
This lesson introduces visual guides to the basic features available through the JavaFX API. It contains screen captures of graphicalobjects, components, effects, text patterns, color schemes, and layout patterns. Source files are provided for all visual guides.
 
The JavaFX API enables developers to create UIs that work seamlessly across different devices. The
common 
profile of the JavaFX APIincludes classes that function on both the desktop and mobile devices. However, you can use additional classes and packages from the
desktop 
profile to take advantage of specific functionality that can enhance desktop applications.Common ProfileDesktop ProfileThe JavaFX SDK contains the JavaFX Mobile Emulator, a mobile phone simulation. Use the emulator to see how your applications will lookon mobile devices. Refer to the SDK Readme file (<
SDK-install-directory 
>/README.html) for more information on the mobile emulator.The following images show how a simple JavaFX application will run on the emulator and in the desktop window. The complete code of thisapplication is available in the
ball.fxball.fx
file.
 
2/10/09 3:44 PMavaFX Tutorial | Intro to GUI Applications for Desktop and MobilePage 2 of 10
Figure 1: A Simple Graphical Application Run on the MobileEmulator Figure 2: A Simple Graphical Application Run in theDesktop Window
Common Profile
 
-Colors-Shapes-Fill Styles-Line Cap and Join Style-Text-Transformations-Layout
 
Colors

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->