[hotjoe.com] HotJoe Java Help Forums
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Visit java.com
Please send email if you are having login problems - see the posts below for more info.
Hotmail and Yahoo! users - please see the Hotmail post or the Yahoo! post for information on lost emails.
How do I make into Applet?  XML
Forum Index » GUI Development
Author Message
Mixmaster

Newbie

Joined: 03/21/2009 20:14:44
Messages: 5
Offline

Ok, I have the following codes.

How do I make them into Applets so that I can put them on the Internet?

This makes a simple game (yes, VERY simple...still learning)


This is the Dice class needed in above program


I can compile and run all the code above in JGRASP, which is what I use.
stdunbar

Newbie
[Avatar]

Joined: 06/22/2005 14:51:37
Messages: 849
Location: Superior, CO, USA
Offline

Your app is very close - some different inheritance will be the key. Take a look at the applet tutorial for more details.

Thanks for using the forums at hotjoe.com
[WWW] [Yahoo!] [ICQ]
Mixmaster

Newbie

Joined: 03/21/2009 20:14:44
Messages: 5
Offline

stdunbar wrote:Your app is very close - some different inheritance will be the key. Take a look at the applet tutorial for more details.


Thank you.
I've looked there multiple times as well as other tutorial/help sites.

They all say the same thing, and I try what they say... but I think I'm missing something.

I change the to

Other than that, I don't really know what the tutorials are saying.

I know that the init() method replaces the main, and it probably requires a start() , stop() , and destroy() ... but I don't know how to write those.

May you please help with that part?

many thanks.
 
Forum Index » GUI Development
Go to:   
Powered by JForum 2.1.9 © JForum Team
This site run by Scott Dunbar of Xigole Systems. © 2005-2011 - Scott Dunbar
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners
hotjoe.com, xigole.com, and Scott Dunbar have no affiliation with Oracle