File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JavaFX and the fly likes ProJavaFX examples Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JavaFX
Bookmark "ProJavaFX examples" Watch "ProJavaFX examples" New topic

ProJavaFX examples

Alfred Jayaprakash

Joined: Jan 11, 2008
Posts: 10
Why are all Pro JavaFX examples are webstart applications? Does it mean JavaFX applications cannot be run as an Applet? Do you have some samples in your book that can demonstrate the same?

Alfred Jayaprakash

Sun Certified Enterprise Architect
IBM Certified Solution Designer - RUP 7.0
Call it 'Component' when others understand what you have coded
Call it 'Framework' when you don't understand what you have coded
Tina Ma
Ranch Hand

Joined: Nov 29, 2007
Posts: 198
If I am not wrong, one can launch an applet too via webstart. Webstart is like requesting a .jnlp file when a link to the application is clicked from the webpage. It launches the standalone application instead of a second webpage.

SCJP 1.4, SCWCD 1.4
Stephen Chin

Joined: Aug 30, 2009
Posts: 9

We chose to package most of the samples using Web Start, because in our experience it has the best deployment experience for users regardless of their browser or OS configuration. However, any of the samples can be run via Web Start or as Applets simply by toggling the deployment settings in the supplied Netbeans project and rebuilding.

As an aside, the Mobile examples in Chapter 10 are actually deployed as applets, so if you want to see a JavaFX example running as an applet you can go here:

I agree. Here's the link:
subject: ProJavaFX examples
It's not a secret anymore!