[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [ajug-members]: NetBeans and JavaApplets



Cody Wehunt said:
> Sorry, I think they were in the earlier posts:
>
> test.java [11:1] cannot resolve symbol
> symbol  : class JApplet
> location: class test
> public class test extends JApplet {
>                           ^
> test.java [17:1] cannot resolve symbol
> symbol  : class Graphics
> location: class test
>     public void paint( Graphics g )
>                        ^
> test.java [20:1] cannot resolve symbol
> symbol  : variable super
> location: class test
>         super.paint( g );
>         ^
> 3 errors

Do you have the following in your code?

import javax.swing.JApplet;
import java.awt.Graphics;