| Author |
Message |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 03/21/2009 20:18:49
|
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.
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 03/21/2009 22:04:24
|
stdunbar
Newbie
![[Avatar]](/images/avatar/a87ff679a2f3e71d9181a67b7542122c.png)
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 |
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 03/21/2009 23:25:09
|
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.
|
|
|
 |
|
|
|
|