Reputation: 1704
I'm working in an application based on Applets, with Swing and awt. My current task is to replace the call to an applet by a given web site, let say instead of opening an old applet I have to open the address https://stackoverflow.com/. After a short discussion with my technical supervisor he advised me to enbed the web site into the applet.
The issue is the following:
I did found plenty of ways of embedding an applet into a html page but not the other way around.
Thanks a lot in advance!
EDIT: As a matter of completing the question I finally found some links on Stackoverflow that may help someonelse:
Upvotes: 0
Views: 99
Reputation: 1320
I am unsure if this will work in an applet since the example is for desktop use, however see this Oracle Example on creating a Swing Browser.
This utilizes the WebEngine class as part of JavaFX.
Upvotes: 1