Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chris Shuster Exploring JavaFX.

Similar presentations


Presentation on theme: "Chris Shuster Exploring JavaFX."— Presentation transcript:

1 Chris Shuster Exploring JavaFX

2 Overview Thin Client Applications Rich Internet Applications
Research Constraints 11/14/2018 Chris Shuster

3 Application Platforms
Executed by the Browser JavaScript Execute by an External Application Flash Java JavaFX 11/14/2018 Chris Shuster

4 JavaFX Runs on JVM. Developed using JavaFX Script.
Compatible with Java applications. 11/14/2018 Chris Shuster

5 JavaFX Script Simplified. GUI orientated.
Hybrid between declarative and object orientated languages. Can use any Java API. 11/14/2018 Chris Shuster

6 JavaFX Setup See the associated research paper. 11/14/2018
Chris Shuster

7 Hello World 11/14/2018 Chris Shuster
package demo; import javafx.stage.Stage; import javafx.scene.Scene; import javafx.scene.paint.Color; import javafx.ext.swing.SwingTextField; import javafx.scene.text.Text; import javafx.scene.text.Font; Stage { title : "Hello World" scene: Scene width: 160 height: 45 fill: Color.BLACK content: Text font: Font size: 25 }, fill: Color.GREEN, x: 10, y: 30 content: "Hello World" } 11/14/2018 Chris Shuster

8 Simple Graphics Circle { centerX: 100, centerY: 100, radius: 40, fill: Color.BLUE }, Rectangle { x: 10, y: 150, width: 140, height: 90, fill: Color.RED Line { startX: 10, startY: 50, endX: 50, endY: 125, strokeWidth: 1, stroke: Color.YELLOW } 11/14/2018 Chris Shuster

9 Lighting Effects effect: Lighting { light: PointLight x: 0, y: -50, z: 100 } light: DistantLight azimuth: 90, elevation: 45 light: SpotLight y: 150, z: 50, pointsAtX: 200, pointsAtY: 0, pointsAtZ: 0, specularExponent: 4 11/14/2018 Chris Shuster

10 Shadowing Effects effect: DropShadow { offsetX: 5, offsetY: 5 } effect: InnerShadow effect: Shadow radius: 15 11/14/2018 Chris Shuster

11 Other Features Other Effects Animation Multimedia GUI Widgets
11/14/2018 Chris Shuster

12 Future Research Java Other Rich Internet Applications Platforms
Fully explore the JavaFX platform. Explorer other Java technologies. JSP JSF Other Rich Internet Applications Platforms Explore Adobe Flash. Explore AJAX based applications. 11/14/2018 Chris Shuster

13 References JavaFX Developing Rich Internet Applications
Learn about Java Technology Developer Resources for Java Technology 11/14/2018 Chris Shuster


Download ppt "Chris Shuster Exploring JavaFX."

Similar presentations


Ads by Google