Re: applet paint? not sure why this doesn't work...
From: Andrew Thompson (SeeMySites_at_www.invalid)
Date: 04/22/04
- Next message: james tsao: "java.util.Date"
- Previous message: Roedy Green: "Re: applet paint? not sure why this doesn't work..."
- In reply to: Roedy Green: "Re: applet paint? not sure why this doesn't work..."
- Next in thread: Evan Dekker: "Re: applet paint? not sure why this doesn't work..."
- Reply: Evan Dekker: "Re: applet paint? not sure why this doesn't work..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 22 Apr 2004 18:15:44 GMT
On Thu, 22 Apr 2004 17:07:16 GMT, Roedy Green wrote:
> For your experiment, I would use explicit and unique colours e.g.
> Color.MAGENTA not getColor and getBackground to eliminate the
> possibility that is where your problem lies.
Not the upper case constants,
not for this case!
The OP stated..
"i am writting for 1.1 but using 1.4,
dont know if that is relevant."
The upper case color constants were
only defined in 1.4, you can check it
on the on-line compiler..
<http://www.physci.org/javac.jsp?bcp=11>
The first importable source, CardTest,
will fail for 1.1
And to the OP - the on-line compiler is
a great way to ensure you do not acidentally
introduce post 1.1 classes/methods/attributes.
[ F'Ups set to c.l.j.help ]
HTH
-- Andrew Thompson http://www.PhySci.org/ Open-source software suite http://www.PhySci.org/codes/ Web & IT Help http://www.1point1C.org/ Science & Technology
- Next message: james tsao: "java.util.Date"
- Previous message: Roedy Green: "Re: applet paint? not sure why this doesn't work..."
- In reply to: Roedy Green: "Re: applet paint? not sure why this doesn't work..."
- Next in thread: Evan Dekker: "Re: applet paint? not sure why this doesn't work..."
- Reply: Evan Dekker: "Re: applet paint? not sure why this doesn't work..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|