Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Java FX 8 Essentials
  • Table Of Contents Toc
  • Feedback & Rating feedback
Java FX 8 Essentials

Java FX 8 Essentials

By : Mohamed Taman
3.7 (7)
close
close
Java FX 8 Essentials

Java FX 8 Essentials

3.7 (7)
By: Mohamed Taman

Overview of this book

If you are a Java developer, an experienced Java Swing, Flash/Flex, SWT, or web developer looking to take your client-side applications to the next level, this book is for you.
Table of Contents (11 chapters)
close
close
7
7. Monitoring and Controlling Arduino with JavaFX
10
Index

Developing a custom UI

For the final part of this chapter, we are going to develop a custom UI component based on JavaFX 8 built-in controls.

We will develop this custom UI with concepts discussed before that are based on FXML; the primary advantage is the separation of concerns to customize the component later on without altering its functionality and any other logic bound to it.

The Login dialog custom UI

We will use most of the previously covered tools and techniques to develop our custom UI: the Login Dialog, which is a necessary component in every Enterprise application. Our UI component will be as shown in the following screenshot:

The Login dialog custom UI

Login custom UI component

Structure of the Login dialog custom UI

The most common structure and stages in custom component development based on FXML markup are these:

  • Develop the UI inside the Scene Builder tool; then export the result to the FXML-based file
  • Extract the controller skeleton from the Scene builder
  • Create a controller that binds the UI (view) to its...
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Java FX 8 Essentials
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon