wood burning stoves
The moose likes Applets and the fly likes replacement for applets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "replacement for applets" Watch "replacement for applets" New topic

replacement for applets

leo zeo

Joined: Jun 20, 2008
Posts: 8
I have developed a game using applets in which a ball shows its trajectory to hit an object.
For that i have used repaint method of applet to paint applet again and again when the coordinates of the ball get changed.

If i have to develop same game without using applet how can i get the same result.
I think i have to use threads for displaying the trajectory of the ball.

please guide me whether i m going on right track or i have to use something else.
Any pointers will be appreciated.
thanks in advance

Norm Radder
Ranch Hand

Joined: Aug 10, 2005
Posts: 691
I wouldn't think you need to change the logic much in the applet. You could wrap code around an applet that allows an applet to run as an application.
Here's how I did it with AWT code:
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

"leo zeo",
Please check your private messages regarding an important administrative matter.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link: http://aspose.com/file-tools
subject: replacement for applets
It's not a secret anymore!