Jump to content
xisto Community
nespolina83

Help For Java Applet Can I insert a JFrame into a JApplet

Recommended Posts

foscavargiu@virgilio.it :) I'm working to create a java game based on a maze. I insert my GUI in a JFrame, and projected the game into a JApplet. Now, when i started the Applet, it's run the GUI, but in a different and independent window, so i press start button and it close. But, althought i see only GUI (1024x768), under there is the applet's window.

:) I would insert my frame into the window of Applet ... Can i do it????

I know that JApplet can be inserted into a JFrame but if i do it, i have to create a istance of frame and then run my game ... i don't know if the game run alone?

I explain my problem as well as can, and i hope that anyone read this message can understand it, my english is not very good!

B) Thank for all that can reply and help me. If u prefer write me at mail address ;)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.