This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes JavaFX and the fly likes Is it possible to embed javafx code in web pages ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » JavaFX
Bookmark "Is it possible to embed javafx code in web pages ?" Watch "Is it possible to embed javafx code in web pages ?" New topic
Author

Is it possible to embed javafx code in web pages ?

praveen sharma
Ranch Hand

Joined: May 27, 2006
Posts: 44
Hi all,
This is my first post regarding
JavaFX
wanted to know is it possible to embed
javafx
code inside web pages. if yes then can somebody send me link for help. where ever i search i found thing like applet nothing more.

your help will be quite valuable for students like me.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19684
    
  20

You don't need to quote JavaFX

As far as I've understood, JavaFX is (like Swing) a client framework. To show the graphical stuff on the client there are two options:
- translate to HTML and JavaScript; this is what GWT does.
- use a plugin to display the contents; this is what applets and flash (among others) do.

Unless I'm wrong, JavaFX only supports the second way, using applets. That sucks, yes. It's the reason my interest in JavaFX was greatly diminished; I was hoping to write some better user interfaces without having to resort to using applets. So much for that idea...


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
wood burning stoves
 
subject: Is it possible to embed javafx code in web pages ?