Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Does WebEngine in JavaFX2.0 and later support applets rendering

1029949Aug 1 2013 — edited Aug 2 2013

Hi,

I am new to the JavaFx and have been trying to find answer to whether i can display applets inside a Webview ?

Basically what i want is to display a html page with a applet in it.

I have tried using the applet tag as well as trying to load using the jnlp both seem to not work.

My approach is as follows

have a class with :

  final WebView browser = new WebView();

  final WebEngine webEngine = browser.getEngine();

  webEngine.load("http://localhost:8080/webApplets/");

and the html page simple has

...............

<body>

   <h1>Applet using Applet Tag Below</h1>

  <APPLET ARCHIVE="BarChart.jar"

        CODE="com.applet.bar.BarChart.class"

        WIDTH=100%

        HEIGHT=100%>

</APPLET>

</body

Can anyone please help me on this ?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 30 2013
Added on Aug 1 2013
4 comments
1,066 views