Re: Poor Newbie seeking help
I won't write your homework for you, but did you import the correct classes into java to be able to access the drawLine(..) method? hint: you should import java.awt.Graphics
check here for help:
http://java.sun.com/j2se/1.3/docs/api/index.html
also check the java tutorial on sun's website ( java.sun.com ).. you might find the answer to your problem in the tutorials
"There are no facts, only interpretations."
-Friedrich Nietzsche
Re: Poor Newbie seeking help
I importet the Applet calss and the whole awt clas java.awt.* so this is not the problem...... that why i dont know a solution... =(
Thy Apoc
Re: Poor Newbie seeking help
have you checked your CLASSPATH and made sure the .jars are listed correctly? also have you d/l'd the newest JRE? If it compiles after fixing the classpath and won't run, then there is probably a JRE problem.. if it doesn't compile make sure all of your statements are capitalized correctly, since Java is case sensitive.
"There are no facts, only interpretations."
-Friedrich Nietzsche
Re: Poor Newbie seeking help
Mhhh my CLasspath is right i checked this firt and i wrote all words right so it could be a JRE problem. SO could u tell me where i can download the latest Version so that i can try that out.... =)
Thx Apoc
Re: Poor Newbie seeking help
http://java.sun.com/j2se/1.3/jre/
"There are no facts, only interpretations."
-Friedrich Nietzsche