CSE 8B Chapter Notes - Chapter 14.1-14.6: Javafx, Web Application, Abstract Window Toolkit

75 views2 pages

Document Summary

Javafx == framework for developing java gui programs. Excellent example of how oop principles are applied. Swing and awt replaced by javafx platform for developing rich internet apps. Awt (abstract windows toolkit) useful for simple gui apps: prone to platform-specific bugs, replaced by more robust, versatile, and flexible library known as swing components. Swing components painted directly on canvases using java code: depend less on target platform, designed to develop desktop gui apps, replaced by javafx. Javafx allows one to build rich internet apps: web app built to deliver same features and functions assoc. with desktop apps, simpler and easier to learn. 14. 3 the basic structure of a javafx program javafx. application. application defines framework for writing javafx programs. Class must extend from application launch method: static method defined in application class. Scene objects: can be created using ctor scene(node, width, height) Specifies width and height and places node in scene. Eg. nodes are actors to perform in the scene.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers