Re: applet paint? not sure why this doesn't work...

From: Andrew Thompson (SeeMySites_at_www.invalid)
Date: 04/22/04


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


Relevant Pages

  • Re: applet paint? not sure why this doesnt work...
    ... > possibility that is where your problem lies. ... The upper case color constants were ... And to the OP - the on-line compiler is ...
    (comp.lang.java.gui)
  • Re: Fortran source of non-linear unconstrained optimization
    ... I think that treating upper and lower case as ... machine-dependent mapping of upper or lower case characters to the ... "This standard does not specify: ... if a fortran compiler treats upper and ...
    (comp.lang.fortran)
  • Re: assembly language and reverse engineering
    ... yeah, seems so. ... on 16 bit operands, simply ignored the upper ... my compiler sacrifices a little bit of performance being unsure what is ... I feel a little uncertain that the primary use for parallelism is ...
    (alt.lang.asm)
  • Re: assembly language and reverse engineering
    ... upper half of the register. ... my compiler sacrifices a little bit of performance being unsure what is ... can't say I am terribly compelled with the programming model. ... //function itself is serializing ...
    (alt.lang.asm)
  • Re: assembly language and reverse engineering
    ... upper half of the register. ... however, the exact conventions are not, and at some places, my compiler is ... can't say I am terribly compelled with the programming model. ... I suspect, the main use for parallelism, in PCs, is not going to be in doing ...
    (alt.lang.asm)