File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Setting JCanvas background to an image? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Setting JCanvas background to an image?" Watch "Setting JCanvas background to an image?" New topic
Author

Setting JCanvas background to an image?

Avin Sinanan
Ranch Hand

Joined: Nov 07, 2001
Posts: 109
Does anyone know how to set the BackGround of a JCanvas to an image. lets say a gif image?


yours respectfully<br />Avin Sinanan
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

I could probably tell you if I knew what a JCanvas was... I don't seem to find it in the standard Java APIs for the 1.3 or 1.4 JDKs.

-Nate


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Setting JCanvas background to an image?
 
Similar Threads
JPanel background image
swing
DISPLAY an IMAGE
Stretch the image size.
awt