O'Reilly logo

Learn JavaFX 8: Building User Experience and Interfaces with Java 8 by Kishori Sharan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 12

image

Understanding Controls

In this chapter, you will learn:

  • What a control is in Java
  • About classes whose instances represent controls in JavaFX
  • About controls such as Label, Button, CheckBox, RadioButton, Hyperlink, ChoiceBox, ComboBox, ListView, ColorPicker, DatePicker, TextField, TextArea, and Menu
  • How to style controls using a CSS
  • How to use the FileChooser and DirectoryChooser dialogs

What Is a Control?

JavaFX lets you create applications using GUI components. An application with a GUI performs three tasks:

  • Accepts inputs from the user through input devices such as a keyboard or a mouse
  • Processes the inputs (or takes actions based on ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required