Forum Stats

  • 3,837,086 Users
  • 2,262,224 Discussions


How to convert an Applet to a JFrame application?

2949155 Member Posts: 1
edited May 13, 2015 3:37AM in Java Applet Development

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.


This discussion has been closed.