Javafx updates in java 8
Download
1 / 12

JavaFX Updates in Java 8 - PowerPoint PPT Presentation


  • 211 Views
  • Uploaded on

JavaFX Updates in Java 8. By Rob Ratcliff [email protected] 3D and Webview. JavaFX 3D. 3D Geometry Sphere Box Cylinder Triangle Mesh – 3 rd party model loader available Cameras Perspective Materials Phong Diffuse and Specular color and map Bump map or normal map

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' JavaFX Updates in Java 8' - lamar-hinton


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Javafx updates in java 8

JavaFX Updates in Java 8

By

Rob Ratcliff

[email protected]

3D and Webview


Javafx 3d
JavaFX 3D

  • 3D Geometry

    • Sphere

    • Box

    • Cylinder

    • Triangle Mesh – 3rd party model loader available

  • Cameras

    • Perspective

  • Materials

    • Phong

      • Diffuse and Specular color and map

      • Bump map or normal map

      • Self-illumination map

  • Lights

    • Point

    • Ambient

  • Natural blending of 2D and 3D

  • No support for raw JOGL access yet


Multi touch support
Multi-Touch Support

  • Touch and Drag

  • Pinch on image

  • Spread on image

  • Two-finger rotation on image

  • Touch reset button


Tighter integration with swing
Tighter Integration with SWING

  • Embed Swing Components in JavaFX Scene Graphs and vice-a-versa

  • Experimental option to merge JavaFX and Swing Threads with command line argument: -Djavafx.embed.singleThread=true


Support for html 5 in webview
Support for HTML 5 in Webview

  • Canvas and SVG

  • Audio and Video Media playback

  • Form controls

  • History maintenance

  • Interactive element tags

  • DOM

  • Web workers

  • Web sockets

  • Web fonts

  • Upcalls from JavaScript to JavaFX

  • Printing HTML


Other improvements
Other Improvements

  • CSS Styleable classes are public

  • JavaFX for ARM

  • Support for Hi-DPI displayes

  • Support for bi-directional text such as Thai and Hindi

  • DatePicker and TreeTableView controls

  • New Modena theme

  • Scheduled Service



Netbeans anonymous inner class to lambda refactoring
NetBeans Anonymous Inner Class to Lambda Refactoring


Gesture support pinch zoom example with javafx 3d
Gesture Support Pinch Zoom Example with JavaFX 3D

private void handleGesture(final Scene scene, final Xform world) {

scene.setOnZoom((ZoomEvent event) -> {

double zoomFactor = event.getZoomFactor();

double distance = camera.getTranslateZ();

double translate = distance*zoomFactor;

camera.setTranslateZ(translate);

event.consume();

});

}



Fxtuxcube demo
FXTuxCube Demo


Hotjavafx web browser
HotJavaFX Web Browser

The return of “HotJava”!

High Performance, HTML 5 Capable Embedded Browser


ad