javafx presentation

Post on 15-Jan-2015

600 Views

Category:

Technology

13 Downloads

Preview:

Click to see full reader

DESCRIPTION

JavaFX for beginner

TRANSCRIPT

JAVA FXMOCHAMAD TAUFIK MULYADIKNOWLEDGE SHARING IT DEPARTMENT CSL GROUP

INTRODUCTION

JAVA FX?

JAVA + FLASH + FLEX

JAVA FX

JAVA FX?• An API included in Java SE 7/8

For UI development• The successor of Java Swing

WHY JAVA FX?• Rich Internet Application that Cross platform:

• Windows, Mac & Linux Dev. Preview

• Familiar: 100% Java APIs with millions Library

• Easy to Develop even for Beginner

• Drag and Drop Application

• Only use Java Language Programming

• GUI Development with Cross Platform

WHY JAVAFX ?

Productivity– Rapid Application Development using Tooling (Netbeans and

SceneBuilder)

– Testing and…

– We are coding only in Java

User Interface

WHY JAVAFX ?

User Interface

Capability– Layouts built using WYSIWYG

– Control Set (Basic and Advanced)

– Eventing (e.g. Value Change Listeners, Thread State Listeners)

– CSS styling

WHY JAVAFX ?

FXML

VIEWS

Screen Building using Scene Builder which

generates FXML– Layout Containers

– Place Controls

– Associate Events

– Style

Map to a Controller Class

FXML

Generates

Controller

Associate

JAVA PIONEERED RICH CLIENT APPLICATIONSBut developers had to learn multiple technologies

JAVAFX SIMPLIFIES APPLICATION DEVELOPMENTDevelopers Focus on Capabilities Instead of Technologies

LEARN THE BASIC

MINIMUM STANDARD TOOLS FOR EASY DEVELOPMENT

NETBEANS, ECLIPSE, ORACLE JDeveloper JDK 7 or 8 JDK 7 -> Java FX 2.2 (Separated Installer) JDK 8 -> JAVA FX 8 Included in Installer Scene Builder 1.0, 1.1, or 2.0

COMPONENT IN JAVA FX Containers

– Accordion, Anchor Pane, Stack Pane, Tab Pane, HBox, and VBox

Controls– Buttons, Choice Box, Combo Box, ImageView, WebView,

TextField, TextArea, Label…

Shapes– Rectangle, Circle, Arc, Ellipse, Line, Polygon, Text, Cubic Curve

Charts – Area Chart, Bar Chart, Scatter Chart, Pie Chart, Bubble Chart

SCENE BUILDER, FXML, AND CONTROLLER

Scene Builder– Drag and Drop Application for Layout GUI

FXML– Script layout GUI that generated from Scene Builder

Controller– In Order FXML be dynamic content need Controller to

control components

HOW TO START?

HOW TO START?

You can start with learn in Java FX Sample Demo using Ensemble8 for jdk-8

You can read the Book, Pros Java FX 2.0 by Jim Greaver

RESOURCES

JavaFX website: http://javafx.com

Open source project http://openjdk.java.net/projects/openjfx/

Oracle Premier Support for Softwarehttp://www.oracle.com/us/support/software/premier/

Blogs– http://fxexperience.com

– http://blogs.oracle.com/javafx

Twitter: @javafx4you

DEMOS

CONTAINERS

CONTROLS

MEDIA

SHAPE

ANIMATION

THANK YOU

top related