javafx presentation

24
JAVA FX MOCHAMAD TAUFIK MULYADI KNOWLEDGE SHARING IT DEPARTMENT CSL GROUP

Upload: mochamad-mulyadi

Post on 15-Jan-2015

598 views

Category:

Technology


13 download

DESCRIPTION

JavaFX for beginner

TRANSCRIPT

Page 1: JavaFX Presentation

JAVA FXMOCHAMAD TAUFIK MULYADIKNOWLEDGE SHARING IT DEPARTMENT CSL GROUP

Page 2: JavaFX Presentation

INTRODUCTION

Page 3: JavaFX Presentation

JAVA FX?

JAVA + FLASH + FLEX

JAVA FX

Page 4: JavaFX Presentation

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

For UI development• The successor of Java Swing

Page 5: JavaFX Presentation

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

Page 6: JavaFX Presentation

WHY JAVAFX ?

Productivity– Rapid Application Development using Tooling (Netbeans and

SceneBuilder)

– Testing and…

– We are coding only in Java

User Interface

Page 7: JavaFX Presentation

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

Page 8: JavaFX Presentation

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

Page 9: JavaFX Presentation

JAVA PIONEERED RICH CLIENT APPLICATIONSBut developers had to learn multiple technologies

Page 10: JavaFX Presentation

JAVAFX SIMPLIFIES APPLICATION DEVELOPMENTDevelopers Focus on Capabilities Instead of Technologies

Page 11: JavaFX Presentation

LEARN THE BASIC

Page 12: JavaFX Presentation

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

Page 13: JavaFX Presentation

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

Page 14: JavaFX Presentation

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

Page 15: JavaFX Presentation

HOW TO START?

Page 16: JavaFX Presentation

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

Page 17: JavaFX Presentation

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

Page 18: JavaFX Presentation

DEMOS

Page 19: JavaFX Presentation

CONTAINERS

Page 20: JavaFX Presentation

CONTROLS

Page 21: JavaFX Presentation

MEDIA

Page 22: JavaFX Presentation

SHAPE

Page 23: JavaFX Presentation

ANIMATION

Page 24: JavaFX Presentation

THANK YOU