Re: Background colour won't show
From: hiwa (HGA03630_at_nifty.ne.jp)
Date: 12/23/03
- Next message: Bernard Koninckx: "jBoss configuration"
- Previous message: aallee83: "help with permissions"
- In reply to: Ali: "Background colour won't show"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 23 Dec 2003 00:23:49 -0800
AyCeeUK@hotmail.com (Ali) wrote in message news:<124e26f8.0312221744.67e3c200@posting.google.com>...
> Hi,
>
> I wrote the following code and when I loaded the images as static
> images my background displayed as black (set at start of code),
> however, now I've started (trying!) to get my image to move, my
> background has defaulted to white. Can anyone tell my why this is and
> how to correct it?
setBackground() is a high-level Component method. If you draw raw
image using Graphics object, you also have to use the Graphics method
to fill your rectangle area with a color.
- Next message: Bernard Koninckx: "jBoss configuration"
- Previous message: aallee83: "help with permissions"
- In reply to: Ali: "Background colour won't show"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|