Presentation is loading. Please wait.

Presentation is loading. Please wait.

12/28/2018 COSC 330.

Similar presentations


Presentation on theme: "12/28/2018 COSC 330."— Presentation transcript:

1 12/28/2018 COSC 330

2 A few words ahead 12/28/2018 If you’re experienced fully fledged Java programmer, you’ve got worked with Swing to form user interfaces. Oracle hasn’t fully abandoned Swing — it isn’t deprecated, and Swing applications still work. However no work is being done any longer to reinforce Swing, and Oracle has made it clear that JavaFX is the future. However—if you look beneath the hood of JavaFX Script—all the widgets appear to wrap Swing parts additional or less directly. JavaFX Script appears to use Swing parts as “Service Provider” COSC 330

3 1What is JavaFX? JavaFX is a GUI toolkit for Java.
12/28/2018 JavaFX is a GUI toolkit for Java. JavaFX is NOT only a GUI toolkit for Java: JavaFX comes with an oversized set of intrinsic GUI parts. JavaFX are styled using CSS, and you’ll be able to use FXML to compose a GUI rather than doing it in Java code. JavaFX contains a group of ready-to-use chart parts. JavaFX comes with support for 3D graphics. JavaFX contains a WebView supported the popular WebKit browser. COSC 330

4 What is Swing? 12/28/2018 Swing API is a set of extendable GUI parts to ease the developer’s life to form JAVA based Front End/GUI Applications. It acts as a replacement of AWT API. Swing part follows a Model-View-Controller design to meet the subsequent criteria. A single API is to be adequate to support multiple look and feel. COSC 330

5 12/28/2018 COSC 330

6 12/28/2018 COSC 330

7 12/28/2018 COSC 330

8 12/28/2018 COSC 330


Download ppt "12/28/2018 COSC 330."

Similar presentations


Ads by Google