JavaFX Crash Course | Build Modern GUIs in Java with Scenes, Layouts, Events, and Animation
Автор: GameDev Arcade
Загружено: 2025-10-08
Просмотров: 25
Welcome to your complete JavaFX introduction — the modern, hardware-accelerated way to build GUIs in Java. This lecture walks you through everything from your first app window to responsive layouts, event handling, and simple animations — all in one session.
What you’ll learn in this video (Chapter 14):
JavaFX Basics:
Application lifecycle (launch → start → Stage → Scene)
Scene Graph overview: Nodes, Panes, and Controls
JavaFX Application Thread — why you must not block it
Styling with CSS and how it differs from Swing
Introduction to GUIs (14.1):
Building a window with Stage and Scene
Adding controls: Label, Button, TextField
Simple action handling with lambdas
Inline CSS styling basics
Positioning with GridPane (14.2):
Table-like layouts with alignment, spacing, and resizing
Using column/row constraints for responsive design
Demo: two-column form with Name, Email, and Submit button
Input & Event Handling (14.3):
Events: setOnAction, key and mouse listeners
Validation and feedback with Alert dialogs
Simple property binding for enabling/disabling buttons
Demo: “Add to List” with TextField, Button, and ListView
Basic Graphics & Animation (14.4):
Drawing with Shape nodes and Canvas
Timeline vs AnimationTimer for animations
Demo: “Bouncing Ball” animation with start/stop control
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: