Current location: Hot Scripts Forums » Programming Languages » Everything Java » Slow Animation on top of Java Applet


Slow Animation on top of Java Applet

Reply
  #1 (permalink)  
Old 09-04-03, 04:31 PM
mark4man mark4man is offline
Newbie Coder
 
Join Date: Aug 2003
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Question Slow Animation on top of Java Applet

Put together a real nice animation of a moving rocket ship; & wanted it to be placed on a dynamic space background. Found a great free Java Applet entitled "Flying Stars", where a field of stars moves laterally across a black background (in the same direction as my animated ship)!

Trouble is, when I assign my animated .gif to the Applet code & preview in my browser, for some reason, the animation plays very, very slow (i.e., instead of the frames playing every .1 second, they play every 4 or 5 seconds.)

Was hoping someone here could provide some insight (& hopefully some answers.)

Thanks in advance,

mark4man
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 09-05-03, 11:10 AM
e4c5 e4c5 is offline
Newbie Coder
 
Join Date: Aug 2003
Posts: 73
Thanks: 0
Thanked 0 Times in 0 Posts
Hi,
Not enough information to help.
Are you using Swing or AWT? are you using timer events or some other mechanism for the animation? which version of jdk and jre?

best regards
__________________
Raditha Dissanayake

<a href="http://www.radinks.com/sftp">http://www.radinks.com/sftp</a>
Lean and mean sftp applet with GUI.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 09-05-03, 09:35 PM
mark4man mark4man is offline
Newbie Coder
 
Join Date: Aug 2003
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Raditha,

Don't know how to get into the .class file to find out. The Applet code points to a .class file.

Thanks,

mark4man
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 09-06-03, 12:03 PM
e4c5 e4c5 is offline
Newbie Coder
 
Join Date: Aug 2003
Posts: 73
Thanks: 0
Thanked 0 Times in 0 Posts
is this a commercial product? havent they included any docs?
__________________
Raditha Dissanayake

<a href="http://www.radinks.com/sftp">http://www.radinks.com/sftp</a>
Lean and mean sftp applet with GUI.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 09-06-03, 03:30 PM
mark4man mark4man is offline
Newbie Coder
 
Join Date: Aug 2003
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Rad,

It was a free Java Applet from JavaScript Kit (formerly Website Abstraction.) Don't know anything about Java or JavaScripting, that's why I'm here.

mark4man
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #6 (permalink)  
Old 09-07-03, 10:02 AM
e4c5 e4c5 is offline
Newbie Coder
 
Join Date: Aug 2003
Posts: 73
Thanks: 0
Thanked 0 Times in 0 Posts
great,
start by heading off to http://java.sun.com and reading the online tutorials :-)
__________________
Raditha Dissanayake

<a href="http://www.radinks.com/sftp">http://www.radinks.com/sftp</a>
Lean and mean sftp applet with GUI.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
We need more java talk rooshine Everything Java 4 05-08-04 11:44 PM
ASP in Java applet buttons geneane Everything Java 2 10-09-03 04:52 AM
The World Is Breathing Java! fouad Everything Java 16 08-19-03 06:53 PM
PHP with JAVA funkydunk PHP 0 07-21-03 10:40 AM
Detecting Java Plug-in ZirconChief Everything Java 0 06-10-03 01:18 PM


All times are GMT -5. The time now is 09:20 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.