O'Reilly logo

JavaFX™ Developer’s Guide by Kim Topley

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

22. Cross-Platform Controls

The user interfaces classes you have seen so far enable you to present information to the user in the form of graphics, video, audio, or text. The only way to get user input from these classes is to handle events from the mouse or the keyboard. Although this is not difficult to do, it quickly becomes tedious. Fortunately, JavaFX has a set of controls, which are nodes that can display information to the user and, if appropriate, respond to input. If you are a Swing developer, you are already familiar with controls such as text fields, buttons, check boxes, sliders, and so on. In fact, you can include many of the Swing components in your JavaFX application by using the JavaFX Swing wrapper classes that we discuss in ...

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