Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Is it possible to embed javafx code in web pages ?

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Sheriff
Posts: 22568
122
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic