Results 1 to 4 of 4
Thread: Stupid error
- 08-08-2010, 09:44 PM #1
Member
- Join Date
- Aug 2010
- Posts
- 67
- Rep Power
- 0
Stupid error
Hey there
I am a complete beginner
The following code keeps giving me the error message:
"cannot find symbol
symbol class Graphics
location class Bucky"
Can you tell me where I am going wrong?Java Code:import java.util.*; import javax.swing.*; public class Bucky extends JApplet{ public void paint(Graphics g){ } }
thanks
- 08-08-2010, 10:35 PM #2
Please copy and paste the full text of the error message here. Don't type it from memory.
What package is the Graphics class in? Did you import it?
- 08-09-2010, 11:12 AM #3
Hey,
Where is your all import file? Include this file.
import java.awt.Graphics;
-Regards
- 08-09-2010, 01:29 PM #4
Member
- Join Date
- Aug 2010
- Posts
- 67
- Rep Power
- 0
Similar Threads
-
incredibally stupid....
By tek0011 in forum New To JavaReplies: 7Last Post: 11-26-2009, 09:35 AM -
simple question feel stupid asking...
By IYIaster in forum New To JavaReplies: 3Last Post: 10-02-2009, 05:04 PM -
Singleton considered stupid, Java and complexity
By fishtoprecords in forum Forum LobbyReplies: 11Last Post: 07-06-2008, 03:38 AM -
a really stupid question
By SwinGirl in forum NetBeansReplies: 10Last Post: 06-25-2008, 09:06 PM -
Quick Stupid Question
By bluekswing in forum New To JavaReplies: 7Last Post: 01-08-2008, 06:35 PM


LinkBack URL
About LinkBacks


Bookmarks