Java Reference
In-Depth Information
14
Objectives
To distinguish between JavaFX, Swing, and AWT (§14.2).
■
To write a simple JavaFX program and understand the relationship
among stages, scenes, and nodes (§14.3).
■
To create user interfaces using panes, UI controls, and shapes (§14.4).
■
To update property values automatically through property binding
(§14.5).
■
To use the common properties
style
and
rotate
for nodes (§14.6).
■
To create colors using the
Color
class (§14.7).
■
To create fonts using the
Font
class (§14.8).
■
To create images using the
Image
class and to create image views
using the
ImageView
class (§14.9).
■
To layout nodes using
Pane
,
StackPane
,
FlowPane
,
GridPane
,
BorderPane
,
HBox
, and
VBox
(§14.10).
■
To display text using the
Text
class and create shapes using
Line
,
Circle
,
Rectangle
,
Ellipse
,
Arc
,
Polygon
, and
Polyline
(§14.11).
■
To develop the reusable GUI component
ClockPane
for displaying
an analog clock (§14.12).
■
Search WWH ::
Custom Search