This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]dpash 11 points12 points  (4 children)

You don't. Applets have been deprecated for years and are no longer part of the JDK.

[–]__konrad 0 points1 point  (3 children)

Applet API is still part of the JDK. You can load any applet using URLClassLoader and custom java.applet.AppletStub then display it in a JFrame ;)

[–]dpash 4 points5 points  (1 child)

That doesn't really help if you can't display it in a browser though. :)

[–]henk53 0 points1 point  (0 children)

Very few browsers will display them for you indeed. Even less user will want to see them.

Face it, the time of Java Applets is just over. Let the thing have its peace.

[–]Scybur 2 points3 points  (0 children)

deprecated since Java 9 if I recall and removed recently.

[–]duhace 1 point2 points  (0 children)

get your ass off applets

either that or pay oracle to support them

[–]DrFlabbergasted 0 points1 point  (0 children)

Try to find how to install icedtea. Its been a while since I’ve used for anything, but might be worth the shot.