Applet compilation pb
From: Boniface Frederic (frederic.boniface_at_free.fr)
Date: 02/27/04
- Next message: Chris Smith: "Re: How many String Objects ?"
- Previous message: Chris Smith: "Re: Popup doesn't return value , ie 6"
- Next in thread: Andrew Thompson: "Re: Applet compilation pb"
- Reply: Andrew Thompson: "Re: Applet compilation pb"
- Reply: Virgil Green: "Re: Applet compilation pb"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 27 Feb 2004 15:25:04 +0100
Hey, I recently decided to learn java and picked up tutorials and samples
over the net, but each time i try to compile an applet I have the same
problem ; in the paint method i cannot use the Color variable :
public void paint(Graphics g)
{
...
g.setColor(Color.white); (<-- cannot resolve symbol)
...
}
I m using Java 1.4.2_02-b0 on XP.
Any ideas what's going on and how to fix it will be greatly appreciated.
Thanks in advance.
- Next message: Chris Smith: "Re: How many String Objects ?"
- Previous message: Chris Smith: "Re: Popup doesn't return value , ie 6"
- Next in thread: Andrew Thompson: "Re: Applet compilation pb"
- Reply: Andrew Thompson: "Re: Applet compilation pb"
- Reply: Virgil Green: "Re: Applet compilation pb"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|