aspose file tools*
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
Author

ProJavaFX examples

Alfred Jayaprakash
Greenhorn

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.


Tina
SCJP 1.4, SCWCD 1.4
Stephen Chin
author
Greenhorn

Joined: Aug 30, 2009
Posts: 9
Alfred,

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:
http://jfxtras.org/portal/pro-javafx-platform?p_r_p_564233524_tag=chapter+10


--Steve
book: http://projavafx.com/
blog: http://steveonjava.com/
 
jQuery in Action, 2nd edition
 
subject: ProJavaFX examples