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!

How to convert an Applet to a JFrame application?

2949155May 13 2015 — edited May 13 2015

Hello all,

I have a final project for school coming up and I was just dropped a bombshell, that the game project I have been working on for weeks as an applet has to be ran through a JFrame as an application.  I have no idea how to convert these two and from what I have read online is to create a main method, create a game object(that is still an applet) in the main method, and then call the said applet's init() event along with all of your JFrame components.  So far the window comes up but none of my objects are being drawn.  My init() creates those objects. I need some help please to get this to work, any help would be appreciated.  Thank you all so much.

Michael

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 10 2015
Added on May 13 2015
0 comments
968 views