cta quote button

Best Books to Help You Learn JavaFX

Read More

How Much Does It Cost to Hire Web Developers in Ukraine?

Our pricing is completely transparent: you pay your engineers’ salaries and a flat monthly fee for our services. No hidden charges.

Read More

1. Pro JavaFX 9: A Definitive Guide to Building Desktop, Mobile, and Embedded Java Clients (2017)

Use the JavaFX platform to create rich-client Java applications and discover how you can use this powerful Java-based UI platform, which is capable of handling large-scale data-driven business applications for PC as well as mobile and embedded devices. The expert authors cover the new more modular JavaFX 9 APIs, development tools, and best practices and provide code examples that explore the exciting new features provided with JavaFX 9, part of Oracle’s new Java 9 release. Pro JavaFX 9: A Definitive Guide to Building Desktop, Mobile, and Embedded Java Clients also contains engaging tutorials that cover virtually every facet of JavaFX development and reference materials on JavaFX that augment the JavaFX API documentation.

New material in this edition includes JavaFX UI controls and CSS APIs for modularization. Additionally, there is coverage of the Shader DSL for JavaFX that allows you to generate Shaders for OpenGL and Direct3D. After reading and using this book, you’ll have the knowledge to give you an edge in your next JavaFX-based project.

What You’ll Learn

  • Create a user interface in JavaFX 
  • Use SceneBuilder to create a user interface
  • Build dynamic UI layouts in JavaFX and using the JavaFX UI controls
  • Create charts in JavaFX
  • Design and deploy for embedded, mobile and tablet
  • Leverage JavaFX languages and markup 

Who This Book Is For

Experienced Java programmers looking to learn and leverage JavaFX 9 for rich client-side Java development.

Author(s): Johan Vos, Stephen Chin

2. JavaFX For Dummies (For Dummies Series) (2014)

Unleash the power of JavaFX for a wide range of devices

JavaFX For Dummies gives you access to an innovative software platform that allows you to create and deliver rich Internet applications that can run across a wide variety of connected devices. This accessible book highlights the most important features of this powerful graphics platform, giving you the tools to understand it quickly and easily! No experience with JavaFX? No problem. JavaFX For Dummies has been written especially for newbies and it also serves as a great reference resource for more experienced Java developers.

Author Doug Lowe has been writing programming books for decades, and he brings his experience and passion to this guide, sharing his expert approach to coding using JavaFX. The book shows you how to work with JavaFX controls, how to enhance your scenic design, and also offers advice on how to make a splash with your programs. Then, the author wraps it all up with extra recommendations and resources to guide you as you move forward.

  • Helps developers quickly learn to take advantage of JavaFX’s lightweight, high-performance platform
  • Highlights essential JavaFX features for simple coding that can be rolled out across multiple devices
  • Instructs readers on methods for creating compelling, visually appealing applications
  • Includes recommendations and resources for honing your JavaFX skills

With JavaFX For Dummies, you’ll be on your way to easier, more efficient coding for a variety of connected devices.

Author(s): Doug Lowe

3. Introducing JavaFX 8 Programming (Oracle Press) (2015)

Learn the Fundamentals of JavaFX 8 from Programming Guru Herb Schildt

Introducing JavaFX 8 Programming provides a fast-paced, practical introduction to JavaFX, Java’s next-generation GUI programming framework. In this easy-to-read guide, best-selling author Herb Schildt presents the key topics and concepts you’ll need to start developing modern, dynamic JavaFX GUI applications. The book begins with the fundamentals, including the general form of a JavaFX program. You then advance to event handling, controls, images, fonts, layouts, effects, transforms, animations (including 3-D animations), menus, and more. Numerous complete examples are included that put key topics and techniques into action. Designed for Java programmers, the book’s focus is on the JavaFX API and all examples are written entirely in Java. Best of all, the book is written in the clear, crisp, uncompromising style that has made Herb Schildt the choice of millions worldwide.

  • Learn the general form of a JavaFX program
  • Work with scenes and stages
  • Understand the fundamentals of JavaFX event handling
  • Explore several controls, such as buttons, list views, sliders, trees, tables, scroll panes, and more
  • Work with images, fonts, and layouts
  • Explore the JavaFX menu system
  • Use visual effects and transforms
  • Incorporate 2-D and 3-D animation
  • Present data in JavaFX charts
  • Display Web-based content using WebView and WebEngine

Author(s): Herbert Schildt

4. Learn JavaFX 8: Building User Experience and Interfaces with Java 8 (2015)

Learn JavaFX 8 shows you how to start developing rich-client desktop applications using your Java skills and provides comprehensive coverage of JavaFX 8’s features. Each chapter starts with an introduction to the topic at hand, followed by a step-by-step discussion of the topic with small snippets of code. The book contains numerous figures aiding readers in visualizing the GUI that is built at every step in the discussion.

The book starts with an introduction to JavaFX and its history. It lists the system requirements and the steps to start developing JavaFX applications. It shows you how to create a Hello World application in JavaFX, explaining every line of code in the process. Later in the book, author Kishori Sharan discusses advanced topics such as 2D and 3D graphics, charts, FXML, advanced controls, and printing. Some of the advanced controls such as TableView, TreeTableView and WebView are covered at length in separate chapters.

This book provides complete and comprehensive coverage of JavaFX 8 features; uses an incremental approach to teach JavaFX, assuming no prior GUI knowledge; includes code snippets, complete programs, and pictures; covers MVC patterns using JavaFX; and covers advanced topics such as FXML, effects, transformations, charts, images, canvas, audio and video, DnD, and more. So, after reading and using this book, you’ll come away with a comprehensive introduction to the JavaFX APIs as found in the new Java 8 platform.

Author(s): Kishori Sharan

5. JavaFX 9 by Example (2017)

Create media-rich client applications using JavaFX 9 and the Java 9 platform. Learn to create GUI-based applications for mobile devices, desktop PCs, and even the web. Incorporate media such as audio and video into your applications. Interface with hardware devices such as Arduino and Leap Motion. Respond to gesture control through devices such as the Leap Motion Controller. Take advantage of the new HTTP2 API to make RESTful web requests and WebSockets calls.

New to this edition are examples of creating stylized text and loading custom fonts, guidance for working with Scene Builder to create visual layouts, and new content on developing iOS and Android applications using Gluon mobile. The book also covers advanced topics such as custom controls, JavaFX 3D, gesture devices, printing, and animation. Best of all, the book is full of working code that you can adapt and extend to all your future projects.

Is your goal to develop visually exciting applications in the Java language? Then this is the book you want at your side. JavaFX 9 by Example is chock-full of engaging, fun-to-work examples that bring you up to speed on the major facets of JavaFX 9. You’ll learn to create applications that look good, are fun to use, and that take advantage of the medium to present data of all types in ways that engage the user and lead to increased productivity. The book:

  • Has been updated with new content on modular development, new APIs, and an example using the Scene Builder tool
  • Is filled with fun and practical code examples that you can modify and drop into your own projects
  • Includes an example using Arduino and an accelerometer sensor to track motion in 3D
  • Helps you create JavaFX applications for iOS and Android devices
What You’ll Learn

  • Work with touch-based interfaces
  • Interpret gesture-based events
  • Use shapes, color, text, and UI controls to create a simple click and point game
  • Add audio and video to your projects
  • Utilize JavaFX 3D
  • Create custom controls using CSS, SVG, and Canvas APIs
  • Organize code into modules using Java Platform Module System (Project Jigsaw)
  • Who This Book Is For

    Java developers developing visual and media-rich applications to run on PCs, phones, tablets, Arduino controllers, and more. This includes developers tasked with creating visualizations of data from statistical analysis and from sensor networks. Any developer wanting to develop a polished user-interface in Java will find much to like in this book.

    Author(s): Carl Dea, Gerrit Grunwald

    6. JavaFX Essentials (2015)

    Create amazing Java GUI applications with this hands-on, fast-paced guide

    About This Book

    • Develop amazing gestures –based applications and an interactive JavaFX application powered by leap motion devices
    • Get in touch with the right tools to rapidly develop your JavaFX application and give you essential hands-on experience with JavaFX 8
    • A step-by-step guide with examples to help you develop applications

    Who This Book Is For

    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.

    What You Will Learn

    • Deliver complex, compelling, and high performance JavaFX 8 applications with new impressive Java SE 8 core features and enhancements
    • Run JavaFX applications on embedded devices such as Raspberry Pi
    • Use Scene Builder to create and define UI screens graphically and save them as JavaFX FXML-formatted files
    • Develop amazing gesture-based applications and an interactive touchless JavaFX application with Leap motion devices
    • Get hands-on knowledge about mobile development and create native JavaFX applications for Apple iOS and Android platforms
    • Use JavaFX with an Arduino board to develop desktop applications to monitor data coming from the real world or control real devices

    In Detail

    JavaFX is a software platform to create and deliver rich Internet applications (RIAs) that can run across a wide variety of devices.

    JavaFX Essentials will help you to design and build high performance JavaFX 8-based applications that run on a variety of devices.

    Starting with the basics of the framework, it will take you all the way through creating your first working application to discovering the core and main JavaFX 8 features, then controlling and monitoring your outside world. The examples provided illustrate different JavaFX and Java SE 8 features.

    This guide is an invaluable tutorial if you are planning to develop and create JavaFX 8 applications to run on a variety of devices and platforms.

    Author(s): Mohamed Taman

    7. Pro Java 9 Games Development: Leveraging the JavaFX APIs (2017)

    Use Java 9 and JavaFX 9 to write 3D games for the latest consumer electronics devices. Written by open source gaming expert Wallace Jackson, this book uses Java 9 and NetBeans 9 to add leading-edge features, such as 3D, textures, animation, digital audio, and digital image compositing to your games.
    Along the way you’ll learn about game design, including game design concepts, genres, engines, and UI design techniques. To completely master Java 3D game creation, you will combine this knowledge with a number of JavaFX 9 topics, such as scene graph hierarchy; 3D scene configuration; 3D model design and primitives; model shader creation; and 3D game animation creation. With these skills you will be able to take your 3D Java games to the next level.
    The final section of Pro Java 9 Games Development puts the final polish on your abilities. You’ll see how to add AI logic for random content selection methods; harness a professional scoring engine; and player-proof your event handling. After reading Pro Java 9 Games Development, you will come away with enough 3D expertise to design, develop, and build your own professional Java 9 games, using JavaFX 9 and the latest new media assets.

    What You’ll Learn

    • Design and build professional 3D Java 9 games, using NetBeans 9, Java 9, and JavaFX 9
    • Integrate new media assets, such as digital imagery and digital audio
    • Integrate the new JavaFX 9 multimedia engine API
    • Create an interactive 3D board game, modeled, textured, and animated using JavaFX 
    • Optimize game assets for distribution, and learn how to use the Java 9 module system

    Who This Book Is For

    Experienced Java developers who may have some prior game development experience. This book can be for experienced game developers new to Java programming. 

    Author(s): Wallace Jackson

    8. JavaFX 8: Introduction by Example (2014)

    JavaFX 8: Introduction by Example shows you how to use your existing Java skills to create graphically exciting client applications with the JavaFX 8 platform. The book is a new and much improved edition of JavaFX 2.0: Introduction by Example, taking you through a series of engaging, fun-to-work examples that bring you up to speed on the major facets of the platform. It will help you to create applications that look good, are fun to use, and that take advantage of the medium to present data of all types in ways that engage the user and lead to increased productivity.

    Entirely example-based, JavaFX 8: Introduction by Example begins with the fundamentals of installing the software and creating a simple interface. From there, you’ll move in progressive steps through the process of developing applications using JavaFX’s standard drawing primitives. You’ll then explore images, animations, media, and web. This new edition incorporates the changes resulting from the switch to Java 8 SDK. It covers advanced topics such as custom controls, JavaFX 3D, gesture devices, and embedded systems. Best of all, the book is full of working code that you can adapt and extend to all your future projects.

    • Entirely example-based
    • Filled with fun and practical code examples
    • Covers all that’s new in Java 8 relating to JavaFX such as Lambda expressions and Streams
    • Covers gesture devices, 3D display, embedded systems, and other advanced topics

    What you’ll learn

    • Install JavaFX 8 and configure your environment
    • Work with touch-based interfaces such as in Windows 8
    • Interpret gesture-based events the Leap Motion Controller and similar hardware
    • Integrate JavaFX with embedded systems such as Arduino and Raspberry Pi
    • Develop modern GUI implementations of business forms
    • Work with shapes, color, text, and animation
    • Add audio and video to your projects
    • Create custom controls using SVG and Canvas
    • Learn to style a user-interface via CSS
    • Communicate bidirectionally using Java and Javascript with HTML5

      Who this book is for

      JavaFX 8: Introduction by Example is for Java developers who are interested in developing rich, client-side applications to run on PCs, phones, tablets, Arduino controllers, the Raspberry Pi, and more. Whether enterprise developer or hobbyist, anyone wanting to develop a polished user-interface from Java will find much to like in this book.

      Table of Contents

      1. Getting started

      2. JavaFX Fundamentals

      3. Java 8 Lambda Expressions

      4. Layout & UI Controls

      5. Graphics with JavaFX

      6. Custom Controls

      7. Media with JavaFX

      8. JavaFX on the Web

      9. JavaFX 3D

      10. JavaFX and Arduino

      11. JavaFX on the Raspberry Pi

      12. Gesture-based Interfaces

      13. Appendix A. References

      Author(s): Carl Dea, Mark Heckler

      9. Java: The Complete Reference, Tenth Edition (Complete Reference Series) (2017)

      The Definitive Java Programming Guide

      Fully updated for Java SE 9, Java: The Complete Reference, Tenth Edition explains how to develop, compile, debug, and run Java programs. Bestselling programming author Herb Schildt covers the entire Java language, including its syntax, keywords, and fundamental programming principles. You’ll also find information on key portions of the Java API library, such as I/O, the Collections Framework, the stream library, and the concurrency utilities. Swing, JavaFX, JavaBeans, and servlets are examined and numerous examples demonstrate Java in action. Of course, the new module system added by Java SE 9 is discussed in detail. This Oracle Press resource also offers an introduction to JShell, Java’s new interactive programming tool.

      Coverage includes:

      Data types, variables, arrays, and operators

      Control statements

      Classes, objects, and methods

      Method overloading and overriding


      Interfaces and packages

      Exception handling

      Multithreaded programming

      Enumerations, autoboxing, and annotations

      The I/O classes


      Lambda expressions


      String handling

      The Collections Framework


      Event handling


      Swing and JavaFX

      The Concurrent API

      The Stream API

      Regular expressions



      Much, much more

      Code examples in the book are available for download at www.OraclePressBooks.com.

      TAG:  For a complete list of Oracle Press titles, visit www.OraclePressBooks.com.

      Author(s): Herbert Schildt

      10. JavaFX Developer’s Guide (2010)

      Updated for JavaFX 1.3


      The JavaFX platform makes it possible to write applications that can be deployed across devices ranging from cell phones to desktops, with little or no change required. JavaFX applications are written using JavaFX Script, a new and easy-to-use scripting language.


      Kim Topley’s JavaFX™ Developer’s Guide thoroughly covers the JavaFX language and its core libraries and shows you step by step how to develop and deliver JavaFX applications for the desktop and for mobile devices. It provides complete coverage of all aspects of the language, including 

      • Language syntax
      • Tools you can use to develop, debug, and deploy JavaFX applications
      • User interface classes
      • Animation
      • How to play audio and video
      • How to use RESTful Web services and databases to retrieve the data for your application
      • How to create custom components
      • Transformations
      • User interface basics, attributes, events,and controls
      • JavaFX and networking
      • JavaFX development with NetBeans and Eclipse
      • Packaging and deployment 

      Topley highlights critical topics that other books gloss over, presents detailed examples that stretch JavaFX to its limits, and shows you exactly how to build on the skills you already have. Whether you’ve been focused on HTML/XML/CSS Web development or Java Swing, this book will help you get outstanding results with JavaFX.

      Author(s): Kim Topley

      11. Practicing Recursion with JavaFX (2018)

      Educators and students consider recursion one of the most difficult topics in introductory programming courses. The limited number of recursive examples in the regular textbooks is not sufficient for most students. This text is designed to help students in CS I or CS II courses to practice writing recursive code in JavaFX. It may be helpful for instructors teaching those courses, as well. For them it can serve as a poll of test examples, or as a base to create projects that include variations of existing methods. The book provides collection of over 150 recursive examples on integers, arrays, linked lists, linked trees, and graphical examples. Each example includes a problem specified in English, solution at the algorithm level, and recursive code implemented in JavaFX. Graphical examples have also the picture of the outcome drawn by application in addition to code. Ninety percent of examples were given to students on tests and final exams. The remaining ten percent of the problems are for advanced students who grasped the topic and want to be challenged to do more. We start to practice recursion by writing code for simple examples which can also be done iteratively in slightly more efficient way. Recursion requires several calls before reaching the base case. Each invocation requires putting the method name and parameters on the activation stack, and upon completion, removing it from the stack when the results are passed back. This approach is chosen to help learners to adjust to new way of solving problems. Writing code recursively requires a paradigm shift from being used to specifying the steps explicitly, in the order how they are performed, to specifying them implicitly. Recursive problems have base case part where we specify code to provide the desired result without calling any sub-problems, and in addition there is recursive step part where we specify how to obtain the result by invoking one or more sub-problems of the same type as the original problem, plus we perform some additional code to combine the sub-problems and produce the result. Recursion is so difficult to learn because each problem has its own way of formulating base case and recursive step. Sometimes there is one base case, sometimes there are ten base cases, sometimes we do nothing in base case and just return from the method. Recursive steps range from one to many, they vary how we express sub-problems, and each time the way to combine the solutions for sub-problems in order to produce result for original problem, is different as well. When learners start by learning to write recursive code for simple examples, their only challenge is to figure out how to formulate the solution for the given problem recursively. Examples are ordered from simpler to more difficult ones. Many problems are analogous to those done before. This spiral approach allows learners to master recursion at their individual pace. Some should do most of the examples, others can skip similar problems and spend more time on harder problems. Chapter devoted to recursive graphical examples is done in JavaFX which is the latest version of Java. Graphics provides additional advantage because drawing shapes on graphical surface provides visualization of steps performed by recursion. Learning recursion on integers, arrays, linked lists, and graphics, facilitates a smooth transition to writing code recursively on more advanced data structures such as trees and graphs.

      Author(s): Irena Pevac

      12. JavaFX Rich Client Programming on the NetBeans Platform (2014)

      JavaFX is a state-of-the-art graphics toolkit that is now built into Java and can be easily integrated with the NetBeans Platform. With JavaFX, you can create advanced user interfaces, manipulate media, generate graphical effects and animations, and much more. The NetBeans Platform provides a framework for building robust, modular applications with long life expectancies. Together, JavaFX and the NetBeans Platform provide the basis for creating visually appealing, industrial-strength applications.


      Focusing on JavaFX as the front end for rich client applications, this guide’s examples cover JavaFX 8 with the NetBeans Platform, NetBeans IDE, and Java 8. Gail and Paul Anderson fully explain JavaFX and its relationship with the NetBeans Platform architecture, and systematically show Java developers how to use them together effectively. Each concept and technique is supported by clearly written code examples, proven through extensive classroom teaching.


      Coverage includes

      • Background basics with Java, JavaFX, and UI events
      • Building loosely coupled applications
      • NetBeans Platform Modules and Lookup
      • NetBeans Platform Nodes, Explorer Views, and Actions
      • Building CRUD-based applications
      • Integrating JavaFX with a Swing-based framework
      • Using JavaFX Charts with the NetBeans Platform
      • Using the NetBeans Platform File System and Data System
      • Keeping the UI responsive


      Author(s): Paul Anderson, Gail Anderson