Applet Mac issue
I have made an applet which uses multiple classes and .PNGs and .GIFs.
It runs fine on windows under internet explorer and firefox,
but it does not work at all on Macs.
I have an HTML file called Game.html:
<title>My Game Page</title>
code="Game.class" width=800 height=600
Your browser is not configured to run Java applets.
in "myDomain,net/Games/" //woudlnt let me post link
The applet does work on Windows.
in my Game.java, i read the images through
Other than this, there is nothing that I see as being a windows vs. mac issue.
URL url = getClass().getResource("Player.GIF");
ImageIcon icon = new ImageIcon(url);
Image playerPic = icon.getImage();
I'm not entirely sure what the problem is, if you have any ideas please let me know.
p.s. The Mac applet does not give any java errors, it just sort of stops loading. and/or has the red 'x' at the top left of the applet screen.
thanks in advance :D
Apparently, we're looking for an answer for the same problem. I've been discussing this in Sun's forum, and recently went here for help as well.
http:*remove this*//www*remove this*.java-forums.org/java-applets/20752-japplet-mac.html
This is my thread - sorry, I can't post any link yet - it has a few details which I tried to make my applet run on Mac As well. Might be helpful. =]