Book Image

From 0 to 1: JavaFX and Swing for Awesome Java UIs [Video]

By : Loonycorn
Book Image

From 0 to 1: JavaFX and Swing for Awesome Java UIs [Video]

By: Loonycorn

Overview of this book

<p><span id="description" class="sugar_field">This course is a definitive guide to JavaFX where every important part of the framework is covered in great detail, with sophisticated examples and context. The course is a comprehensive guide to Swing: you will be able to build sophisticated, clean Swing apps, and employ every important technique. The course is intensely practical, packed with dozens of examples and hundreds of lines of included source code. The course is also quirky. The examples are irreverent. Lots of little touches: repetition, zooming out so you remember the big picture, active learning with plenty of quizzes. There’s also a peppy soundtrack, and art - all shown by studies to improve cognition and recall.</span></p> <h2><span class="sugar_field">Style and Approach</span></h2> <p><span class="sugar_field"><span id="trade_selling_points_c" class="sugar_field">A definitive guide to JavaFX, and a comprehensive guide to Swing are packed into this intensely practical, quirky guide to building awesome UIs in Java.</span></span></p>
Table of Contents (14 chapters)
Free Chapter
1
Why learn JavaFX and Swing?
Chapter 5
FXML and SceneBuilder
Content Locked
Section 2
FXML behind the Scenes: Linking to the controller
FXML is a way to specify UIs in XML. How is this understood by Java? This is classic dependency injection, the controller class in JavaFX is linked to the FXML file - the link relies on two bits of syntax - the @FXML annotation and the fx:id tag