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)
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
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
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
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
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
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 youll 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
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
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.
•Data types, variables, arrays, and operators
•Classes, objects, and methods
•Method overloading and overriding
•Interfaces and packages
•Enumerations, autoboxing, and annotations
•The I/O classes
•The Collections Framework
•Swing and JavaFX
•The Concurrent API
•The Stream API
•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
- 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
- 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)
Author(s): Irena Pevac
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.
- 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