-
Calling applet from application
I need to call an applet from a main class in an application, how would i go about doing this. I'm pretty much a n00b at Java, but i managed to put together a game that i find entertaining and I'd like to be able to run it from an executable, but i need to create a application to call it from a main class so that i can run it through a native compiler.
Thanks
-
try it yourself
Here, if you want you can download the code and the images and crap to try it for yourself
http://lunaticgames.tripod.com/id1.html
-
An applet is a panel descendant.
An applet can be used as a panel in a JFrame. You will have to modify
any parts that delas with getting images and stuff from the net, and to
invoke its init() and start()/stop() methods once you have established the
JFrame.
PS: your downloadable zip file is empty
Last edited by sjalle; 03-01-2005 at 01:27 AM.
eschew obfuscation
-
Alright, I'll look into that. Thanks. I'll also have to look into the empty zip file thing too because when i tested it it worked fine, something must have gone wrong.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|