[5966] in java-interest
loading image into Canvas
daemon@ATHENA.MIT.EDU (Chris Gokey)
Wed Mar 6 15:46:49 1996
Date: Wed, 6 Mar 1996 13:16:14 -0500
From: ra104@cosc (Chris Gokey)
To: java-interest@java.sun.com
Java Group,
I noticed that I can easily load an image into a applet, but
how do I load it into a Canvas? I have a frame created that I
want to put an image into.
I noticed that getImage can only be called if you inherit from
Applet, AppletContext, or Tookit --- not Canvas.
Any help would be appreciated.
Thanks,
Chris
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com