This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "replacement for applets" Watch "replacement for applets" New topic
Author

replacement for applets

leo zeo
Greenhorn

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

--
Leozeo
Norm Radder
Ranch Hand

Joined: Aug 10, 2005
Posts: 685
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
Sheriff

Joined: Dec 11, 2004
Posts: 13410

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


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
 
Similar Threads
Applet problem
Applet loading
Jar files locally as opposed to on the server
help with tcp causing lag in ping pong game
Screen Flashes