Skip to main content
Apress
Book cover

JavaFX 9 by Example

  • Book
  • © 2017

Overview

  • Updated edition with new content on modular development, new APIs, and an example using the Scene Builder tool
  • Filled with fun and practical code examples that you can modify and drop into your own projects
  • Helps you create JavaFX applications for iOS and Android devices

This is a preview of subscription content, log in via an institution to check access.

Access this book

eBook USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

Licence this eBook for your library

Institutional subscriptions

Table of contents (16 chapters)

Keywords

About this book

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 UIcontrols 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.

    Authors and Affiliations

    • Pasadena, USA

      Carl Dea

    • Münster, Germany

      Gerrit Grunwald

    • Arroyo de la Encomienda, Spain

      José Pereda

    • Bowie, USA

      Sean Phillips

    • Godfrey, USA

      Mark Heckler

    About the authors

    Carl P. Dea is a principal software engineer. He has been developing software for over 20 years, for many clients from Fortune 500 companies to nonprofit organizations. He has written software ranging from mission-critical applications to ecommerce-based Web applications. His passion for software development started when his middle school science teacher showed him a TRS-80 computer. Carl has been using Java since the very beginning, and he has been a huge JavaFX enthusiast since the early days when it was its own language called JavaFX script. His current software development interests are UI/UX, game programming, data visualizations, embedded systems, smartphones, AI, and robotics. When Carl is not working, he and his wife enjoy canoeing and day trips to the beach. Carl and his wife are proud parents of their younger daughter who attends Salisbury University. Carl and his wife are also proud of their older daughter, who is a high school teacher in Anne Arundel countyMaryland. Carl lives in Pasadena, Maryland, USA.



    Gerrit Grunwald is a software engineer with more than 10 years of experience in software development. He has been involved in development of Java desktop applications and controls. His current interests include JavaFX, HTML5, and Swing, especially development of custom controls in these technologies. Gerrit is also interested in Java-driven embedded technologies like JavaSE Embedded on Raspberry Pi, i.MX6, BeagleBone Black, CubieBoard2, and similar devices. He is a true believer in open source software and has participated in popular projects like JFXtras.org as well as his own projects (Enzo, SteelSeries Swing, SteelSeries Canvas). Gerrit is an active member of the Java community, where he founded and leads the Java User Group Münster (Germany), co-leads the JavaFX and IoT community at Oracle, and is a JavaOne RockStar and Java Champion. He is a speaker at conferences and user groups internationally.
    José Pereda, PhD in Structural Engineering, works as a software engineer at Gluon. Being on Java since 1999, he is a JavaFX advocate, developing JavaFX applications for mobile platforms and embedded platforms. He also works on open source projects, co-authoring a JavaFX book (JavaFX 8 Introduction by Example), blogging, tweeting, and speaking at conferences (such as JavaOne, JAX, Jfokus, JavaLand, CodingSerbia). José lives with his wife and four kids in Valladolid, Spain.



    Sean M. Phillips is a Java Software Architect currently working on ground systems for Space Science missions at the NASA Goddard Space Flight Center. He has developed embedded systems, and modeling, simulation, and visualization software for projects from commercial & military RADAR, heavy manufacturing, Battlespace Awareness, and Orbital Flight Dynamics. Sean is the lead developer of F(X)yz, a free third-party library for JavaFX 3D components and data visualization tools. Sean enjoys sharing his experiments through blog entries on various sites, including Java.net, and The NetBeans DZone. Sean lives in Bowie, Maryland, USA with his very supportive wife Zulma and sons Sebastian and Sean Alexander.

    Mark Heckler is a Principal Technologist & Developer Advocate at Pivotal, a conference speaker, and published author focusing on software development for the Internet of Things and the Cloud. He has worked with key players in the manufacturing, retail, medical, scientific, telecom, and financial industries, and with various public sector organizations to develop and deliver critical capabilities on time and on budget. Mark is an open source contributor, and author/curator of a developer-focused blog. Mark lives with his very understanding wife, three kids, and dog in St. Louis, Missouri, USA.




    Bibliographic Information

    Publish with us