User Interface (or UI) controls are built using nodes in the scene graph. Remember, it is possible to add style to these controls using CSS or embedding the style directly into your code. A complete list of all the UI controls can be found in the Oracle Javadoc for javafx.scene.control API. Some of the most commonly used controls include:Labels, buttons, checkboxes, etc.
- [Voiceover] Applications would be pretty boring…if they didn't have any type of User Interface Controls.…A complete list of all the UI Controls for JavaFX…can be found in the Oracle Java doc…for JavaFX.scene.control API.…UI or User Interface controls are built using nodes…in the scene graph.…Remember, it is possible to add style to these controls…using CSS, or embedding the style directly into your code.…UI Controls allow you to interact with the end user.…
The interaction is handled through event handlers.…Some of the most commonly used controls include…Labels, Buttons, Checkboxes,…TextFields, where the user enter in text,…PasswordFields, and the list goes on.…Let's switch to NetBeans.…I have a program that I'd like to show you.…Here is a program that I use to demonstrate the look…of several of these controls.…The styling for each control was handled using CSS.…Let's run the program first, then we'll come back,…and take a closer look at the controls.…
As you can see, I'm using a grid pane layout.…I have three rows and three columns.…
- What is JavaFX?
- Creating a simple JavaFX program
- Drawing lines, shapes, and text
- Applying effects
- Adding and animating images and charts
- Customizing interfaces with CSS
Skill Level Intermediate
1. Get Started with JavaFX
2. Sample Applications
4. User Interface Components
6. Custom UIs
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.