John Wells said: > Do you have the following in your code? > > import javax.swing.JApplet; > import java.awt.Graphics; Woops...sorry...missed that in your earlier post. Compiles just fine for me from the command line. Do other simple java files compile ok within NetBeans?