Results 1 to 2 of 2
- 10-31-2011, 06:44 PM #1
Member
- Join Date
- Oct 2011
- Posts
- 1
- Rep Power
- 0
Embedding an Applet within an Application?
Okay, so I've been professionally programming in Java for about 3 years now, and there's still much to learn. I'm trying to accomplish embedding a Java Applet within a Java Application. Basically I'm making a new Minecraft Classic client, and have 3 options. #1 being what I'd prefer to do.
1) Embed an Applet within my JFrame.
2) Create an web browser that will run the Applet.
3) Learn everything about LWJGL and redraw everything. (Rendering Library Minecraft uses.)
Again, I'd prefer to accomplish #1, so if anyone knows how to do this, please help me out. If you would like to get involved in the development talk to me on Skype: oliver123pok.
Thanks for the help!
- 11-03-2011, 12:30 AM #2
Re: Embedding an Applet within an Application?
Rewrite the applet so its GUI is contained in a Container of some kind.1) Embed an Applet within my JFrame.
Then you would be able to add that container to a JFrame.
If the applet code uses any of the applet context methods that are normally supported by a browser, you will need to provide the code to support those methods.
Similar Threads
-
Embedding applet into HTML
By vin_eets in forum AWT / SwingReplies: 3Last Post: 03-22-2011, 01:05 PM -
Embedding Applet into the center of fullscreen API
By crikey in forum Advanced JavaReplies: 3Last Post: 08-25-2010, 09:53 PM -
Embedding Applet into HTML?
By Unome in forum Java AppletsReplies: 1Last Post: 02-21-2009, 03:40 AM -
Embedding browser functionality in a Java application
By Nicolai in forum New To JavaReplies: 7Last Post: 10-06-2008, 04:01 PM -
Embedding Word in an applet
By Java Tip in forum SWTReplies: 0Last Post: 07-25-2008, 02:34 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks