This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Applets and the fly likes Scrolling image applet works but not with Sun Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Scrolling image applet works but not with Sun Java" Watch "Scrolling image applet works but not with Sun Java" New topic
Author

Scrolling image applet works but not with Sun Java

Rob K.
Greenhorn

Joined: Aug 27, 2004
Posts: 2
I have used Ampersandscroll.class to create a slow scrolling image & text banners on one of my websites. This works on multiple PC's with IE 5.5 or 6.x just fine UNLESS they have Sun Java loaded. With Sun Java, the banner area shows that the background image has loaded, but no movement. I even observe an 'applet init' message on the bottom of IE.

I have already recompiled the Ampersandscroll.class file (with GoJava) and observed no change. I have also attempted to search for an HTMLconverter on java.sun.com, but found none. I also observer that the class file caches into Sun's cache folder w/o a problem.

Why would my script run on a PC w/o Sun OK, but not with Sun? I am willing to try just about anything at this point, even a new scroller!

website location: http://www.65Chevelles.com


Have a great day!
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8843
    
    7

Given that the applet's copyright is 1997 and the author's website is no longer functional, I'm not surprised that the applet hasn't faired well with newer versions of Java. I found a newer version (circa 2000) that works fine with the Java 1.4 plug-in.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Rob K.
Greenhorn

Joined: Aug 27, 2004
Posts: 2
I have spent some time today to find that placing the background scrolling image into the same directory as the Java .class file made my problem go away. I have no idea why...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Scrolling image applet works but not with Sun Java
 
Similar Threads
getImage Problem
Compiling Applets
images not loading
java.lang.VerifyError in Netscape when loading applet
Problem in Image Loading in Swing Applet