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.

Les mer
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.
Les mer

Introduction 1

About This Book 1

Foolish Assumptions 2

How This Book Is Organized 3

Part I: Getting Started with JavaFX 3

Part II: JavaFX Controls 3

Part III: Enhancing Your Scenic Design 3

Part IV: Making Your Programs Come Alive 4

Part V: The Part of Tens 4

Icons Used in This Book 4

Beyond the Book 5

Where to Go from Here 5

Part I: Getting Started with JavaFX 7

Chapter 1: Hello, JavaFX! 9

Chapter 2: Looking Closer at JavaFX Programming 31

Chapter 3: Handling Events 49

Chapter 4: Setting the Stage and Scene Layout 67

Chapter 5: Using Layout Panes to Arrange Your Scenes 93

Chapter 6: Getting Input from the User 117

Part II: JavaFX Controls 141

Chapter 7: Introducing the JavaFX Node Hierarchy 143

Chapter 8: Choosing from a List 155

Chapter 9: Working with Tables 185

Chapter 10: Making Menus 209

Part III: Enhancing Your Scenic Design 225

Chapter 11: More about Layout Panes for Precise Scene Design 227

Chapter 12: Skinning Your Application with CSS 255

Chapter 13: Drawing Shapes 267

Chapter 14: Adding Special Effects 289

Part IV: Making Your Programs Come Alive 307

Chapter 15: Using Properties to Create Dynamic Scenes 309

Chapter 16: Using Images and Media 327

Chapter 17: Animating Your Scenes 341

Chapter 18: Targeting Touch Devices 365

Part V: The Part of Tens 375

Chapter 19: Ten More JavaFX Controls 377

Chapter 20: Ten Steps to Building a 3D World 389

Index 407

Les mer

Learn to:

  • Install the JavaFX development tools, including the JavaFX SDK, the Java SE JDK, and NetBeans
  • Develop desktop, mobile, and browser apps
  • Use HTML5 and CSS3 with JavaFX

The fast and easy way to unleash the power of JavaFX

No experience with JavaFX? No problem! This hands-on guide highlights the most important features of this powerful graphics platform, giving you the tools to understand it quickly and easily. You’ll find out how to work with JavaFX controls, enhance your scenic design, and create more efficient coding for a variety of connected devices.

  • Hello, JavaFX! — peruse the possibilities of JavaFX, take a look at a simple JavaFX program, download and install JavaFX, and get familiar with the Click Me program
  • All the world’s a stage — find out how to set the stage and scene layout, use layout panes to arrange your scenes, create a dialog box and close button, and get input from the user
  • Take the reigns — get familiar with the JavaFX node hierarchy, choose from a list, work with tables, and make menus
  • Growing panes — discover more about layout panes for precise scene design and start drawing shapes and adding special effects like a JavaFX pro
  • Do it dynamically — use properties, images, and media to create dynamic scenes, and get the know-how to animate your scenes and target touch devices

Open the book and find:

  • How to import JavaFX packages
  • Tips on implementing the event handler interface
  • Ways to draw transparently and use a gradient fill
  • Instruction on adding shadows and creating reflections
  • How to work with audio and video files
  • The lowdown on gestures and touch events
  • Links to a handy cheatsheet and cool extras
Les mer

Produktdetaljer

ISBN
9781118385340
Publisert
2014-10-28
Utgiver
John Wiley & Sons Inc
Vekt
567 gr
Høyde
229 mm
Bredde
183 mm
Dybde
28 mm
Aldersnivå
P, 06
Språk
Product language
Engelsk
Format
Product format
Heftet
Antall sider
432

Forfatter

Biografisk notat

Doug Lowe has been writing computer programming books since the guys who invented Java were in high school. Lowe has written books on a wide variety of topics and is the bestselling author of more than 30 For Dummies books, including all editions of Java All-In-One For Dummies.