Book Image

JavaFX Essentials

By : Mohamed Taman, Mohamed Taman
Book Image

JavaFX Essentials

By: Mohamed Taman, Mohamed Taman

Overview of this book

Table of Contents (16 chapters)
JavaFX Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
7
Monitoring and Controlling Arduino with JavaFX
Index

Summary


In this chapter, we have covered a lot of ground – getting started with a brief introduction about JavaFX 8 architecture components that act as the foundation layer to run your JavaFX application smoothly and efficiently. Then followed we explored how to render graphics on the scene with a brief explanation about the most common layouts and UI controls.

You were introduced to new features in Java SE 8 such as lambda expressions and functional interfaces, which was supported by examples showing the power of each.

You learned how to style your application with custom CSS files by using the setUserAgentStylesheet(String URL) and getStylesheets().add(String URL) methods. Next, you took a short look at the Scene Builder and how to load FXML into a scene. Finally, you learned about custom UI components in JavaFX and how to create them.

In the next chapter, you will learn how to create a desktop application that consists of multiple scenes and then how to package it. Additionally, we will...