Results 1 to 2 of 2
  1. #1
    omdom is offline Member
    Join Date
    Aug 2009
    Rep Power

    Default Applet Mac issue

    Hi everyone,

    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:

    Java Code:
    <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
    there are:

    The applet does work on Windows.

    in my, i read the images through

    Java Code:
    URL url = getClass().getResource("Player.GIF");
    ImageIcon icon = new ImageIcon(url);
    Image playerPic = icon.getImage();
    Other than this, there is nothing that I see as being a windows vs. mac issue.
    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

  2. #2
    ld_pvl is offline Member
    Join Date
    Jun 2009
    Rep Power


    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*

    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. =]


Similar Threads

  1. Replies: 3
    Last Post: 05-06-2009, 12:11 AM
  2. Replies: 4
    Last Post: 03-21-2009, 11:43 PM
  3. Java Applet Issue
    By bmw4l1f3 in forum New To Java
    Replies: 9
    Last Post: 11-13-2008, 04:39 PM
  4. Replies: 4
    Last Post: 06-08-2007, 06:15 AM
  5. Applet tabbing issue
    By pegitha in forum Java Applets
    Replies: 2
    Last Post: 04-28-2007, 10:41 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts