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

24. Using Swing Controls

If you are a Swing developer, you will probably be pleased to know that JavaFX enables you to continue to use Swing components, provided that you don’t mind being limited to platforms that support the JavaFX desktop profile. The javafx.ext.swing package, which is the subject of this chapter, contains classes that are JavaFX wrappers for a subset of the Swing component set. At the time of this writing, only a small number of components are available, and it is unlikely that more will be added because the emphasis is now on creating native JavaFX controls. As you’ll see at the end of this chapter, it is also possible to create your own Swing wrappers, which is useful if you need to use some of the standard components that ...

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