Computer Science Canada help |
Author: | WhatAmIDoing [ Wed Nov 10, 2004 7:00 pm ] |
Post subject: | help |
well i'm completely new to java and i have a question. Does any1 know a good source to learn the commands for real java and not that hsa.console crap. it makes me so mad that my school doesn't just use sumthin like Jcreator (which is what i have at home). anyway i would appreciate it if any1 knows a site. thx |
Author: | wtd [ Wed Nov 10, 2004 7:01 pm ] |
Post subject: | |
Look up the tutorial at http://java.sun.com |
Author: | WhatAmIDoing [ Wed Nov 10, 2004 7:07 pm ] |
Post subject: | |
k thx for the info so far it looks like just what i wanted |
Author: | Hikaru79 [ Thu Nov 11, 2004 7:12 pm ] |
Post subject: | |
If you're a total newcomer to the Java world (especially if this applies to the OOP world as well), then "Your First Cup of Java" ( http://java.sun.com/docs/books/tutorial/getStarted/cupojava/ ) is an excellent beginner guide. Goes all the way from getting Java on your computer to compiling an applet with a GUI button! Enjoy =) |
Author: | TheZsterBunny [ Mon Nov 15, 2004 8:22 pm ] | ||||
Post subject: | |||||
Hi, I'ma having trouble with this one part. I don't understand the error in the question 5 class (code block 2). This is the FatTurtle Class If you're not using the Holt editor, or don't have the Hsa.console package ( ![]()
and the problem area
Error: The method "stripes" does not denote a class method. (line 32) any help here would be hot -Z |
Author: | Hikaru79 [ Fri Nov 19, 2004 7:25 am ] | ||
Post subject: | |||
For some reason, DrawFatLine is protected. This is the error my compiler's giving (and I'm using Sun's compiler, not Holt's)
So I looked carefully over the FatTurtle code and, Lo and behold! You're not supposed to use drawFatLine. It's a protected method that the program uses in itself. If you want to draw a fat line, then t1.setWidth(x) and then just t1.move normally. It'll take care of the rest itself. Enjoy ![]() |
Author: | TheZsterBunny [ Fri Nov 19, 2004 7:43 am ] | ||
Post subject: | |||
![]() I had forgotten about this post. I had fixed the problem long ago.
i''ve also chopped out a turtle and a whole bunch of lines. -Z |