[2425] in java-interest

home help back first fref pref prev next nref lref last post

g.drawImage() -- Why doesn't it work??

daemon@ATHENA.MIT.EDU (Michael Afergan)
Sun Oct 1 21:24:11 1995

From: mikea@ai.mit.edu (Michael Afergan)
Date: Sun, 1 Oct 1995 19:37:29 -0400
To: java-interest@java.sun.com

    Hi.  I am in the process of creating an applet with a GUI.  I have
"painted" a nice background with some other stuff on it (3Drectangles,
etc.)  I would also like to add a GIF to my GUI, and have loaded one
up with a getImage command that seems to be working well.  However,
when I use g.drawImage in paint(), I get no complier error, no runtime
error, but no results.  Any ideas why???  I even tried stripping away
the rest of the background and JUST drawing the picture...to no avail.
  Furthermore, asuming I ever get this to display, is it possible to
"crop" the image (set its demensions) through java, or is that
something that I'd have to do through a GIF editing program?

  Thanks for the help,

   -- Mike
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post