2 Replies Latest reply: Jan 6, 2005 10:49 AM by 807596 RSS

    Can't put graphics in frame

    807596
      I'm trying to run a game applet in a frame. Everything works fine except that there are no graphics.

      I replaced this line of applet code

      shapes = getImage(getClass().getResource("resources/shapes.gif"));

      by this line

      shapes = Toolkit.getDefaultToolkit().getImage("resources/shapes.gif");

      Any advice?

      Regards,
      Alan