This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Setting JCanvas background to an image?
 
Similar Threads
JPanel background image
Stretch the image size.
awt
DISPLAY an IMAGE
swing