O'Reilly logo

JavaFX 1.2 Application Development Cookbook by Vladimir Vivien

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

Making your applets drag-to-install

So far, we have seen two ways to get your desktop applications deployed as either browser-embedded applets or desktop Web Start. However, none is cooler than drag-to-install. What is that? Well, it is a simple concept: enable the user to drag a running applet from the web page unto the desktop to install it automatically. In this recipe, we are going to look at how to create an application that can be deployed using the drag-to-install feature of the new Java Plugin for browsers.

Getting ready

For this recipe, we will create a simple JavaFX application, which we will build using the javafxpackager and deploy it as an applet. If you are not familiar with how to do this, review previous recipe Building and packaging ...

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