Re: how do i put an image as a background on a JFrame?
- From: Knute Johnson <nospam@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 14 Apr 2007 09:31:28 -0700
apoullakkos@xxxxxxxxxxxxxx wrote:
Most of those talk for JPanels instead. Sorry but I'm a newbie as you
can tell...
I tried a few but they didn't work. Anyway I'll give it another shot
and probs post my code again later if nothing works.
Thanks anyway
The JPanel is your friend. It is a container, very useful to help with component layout, it's easy to draw images or drawings on, it's easy to size, you can put a border on it, it's the universal component. Take a look at my web site for some examples of drawing images, they use JPanels too.
www.knutejohnson.com
--
Knute Johnson
email s/nospam/knute/
.
- References:
- how do i put an image as a background on a JFrame?
- From: apoullakkos
- how do i put an image as a background on a JFrame?
- Prev by Date: how do i put an image as a background on a JFrame?
- Next by Date: Re: how do i put an image as a background on a JFrame?
- Previous by thread: how do i put an image as a background on a JFrame?
- Next by thread: Re: how do i put an image as a background on a JFrame?
- Index(es):