File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Swing / AWT / SWT
Setting JCanvas background to an image?
Joined: Nov 07, 2001
Jan 29, 2002 20:45:00
Does anyone know how to set the BackGround of a JCanvas to an
. lets say a gif image?
yours respectfully<br />Avin Sinanan
Joined: Oct 18, 2000
Jan 30, 2002 06:51:00
I could probably tell you if I knew what a JCanvas was... I don't seem to find it in the standard
APIs for the 1.3 or 1.4 JDKs.
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link:
subject: Setting JCanvas background to an image?
Stretch the image size.
DISPLAY an IMAGE
JPanel background image
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014