Learn JavaFX 8: Building User Experience and Interfaces with Java 8
- Length: 1200 pages
- Edition: 1
- Language: English
- Publisher: Apress
- Publication Date: 2015-03-18
- ISBN-10: 148421143X
- ISBN-13: 9781484211434
- Sales Rank: #1039506 (See Top 100 Books)
Learn JavaFX 8 shows you how to start developing rich-client desktop applications using your Java skills and provides comprehensive coverage of JavaFX 8’s features. Each chapter starts with an introduction to the topic at hand, followed by a step-by-step discussion of the topic with small snippets of code. The book contains numerous figures aiding readers in visualizing the GUI that is built at every step in the discussion.
The book starts with an introduction to JavaFX and its history. It lists the system requirements and the steps to start developing JavaFX applications. It shows you how to create a Hello World application in JavaFX, explaining every line of code in the process. Later in the book, author Kishori Sharan discusses advanced topics such as 2D and 3D graphics, charts, FXML, advanced controls, and printing. Some of the advanced controls such as TableView, TreeTableView and WebView are covered at length in separate chapters.
This book provides complete and comprehensive coverage of JavaFX 8 features; uses an incremental approach to teach JavaFX, assuming no prior GUI knowledge; includes code snippets, complete programs, and pictures; covers MVC patterns using JavaFX; and covers advanced topics such as FXML, effects, transformations, charts, images, canvas, audio and video, DnD, and more. So, after reading and using this book, you’ll come away with a comprehensive introduction to the JavaFX APIs as found in the new Java 8 platform.
What youll learn
- How to develop rich-client desktop applications using JavaFX 8
- How to use properties, collections, colors, and styles
- How to use controls and handle events to build modern GUI applications
- How to use advanced controls such as TreeView, TableView, and TreeTableView
- How to access webpages in JavaFX applications
- How to draw 2D and 3D shapes, and apply effects and transformations
- How to create animations and charts using the JavaFX 8 APIs
- How to add audio and video to your applications
- How to create GUIs in JavaFX using FXML
- How to provide printing capabilities using the JavaFX Print API
Who this book is for
This book is for Java developers with beginning to intermediate level Java skills who want to learn how to develop modern desktop GUI applications using JavaFX 8.
Table of Contents
Chapter 1. Getting Started with JavaFX
Chapter 2. Properties and Bindings
Chapter 3. Observable Collections
Chapter 4. Managing Stages
Chapter 5. Making Scenes
Chapter 6. Understanding Nodes
Chapter 7. Playing with Colors
Chapter 8. Styling Nodes
Chapter 9. Event Handling
Chapter 10. Understanding Layout Panes
Chapter 11. Model-View-Controller Pattern
Chapter 12. Understanding Controls
Chapter 13. Understanding TableView
Chapter 14. Understanding TreeView
Chapter 15. Understanding TreeTableView
Chapter 16. Browsing Web Pages
Chapter 17. Understanding 2D Shapes
Chapter 18. Understanding Text Nodes
Chapter 19. Understanding 3D Shapes
Chapter 20. Applying Effects
Chapter 21. Understanding Transformations
Chapter 22. Understanding Animation
Chapter 24. Understanding Images
Chapter 25. Drawing on a Canvas
Chapter 26. Understanding Drag-and-Drop
Chapter 27. Understanding Concurrency in JavaFX
Chapter 28. Playing Audios and Videos
Chapter 29. Understanding FXML
Chapter 30. Printing