ComputerForum.com ComputerForum.com  
Go Back   Computer Forum > General Chat > General Computer Chat

Reply
 
LinkBack Thread Tools Display Modes
Old 09-13-2006, 05:17 AM   #1 (permalink)
Silver Member
 
Join Date: Feb 2006
Location: San Diego, CA
Posts: 227
Default Java help

I just started learning Java and I'm really lost. Right now i'm trying to make a sketchpad program, but I can't remember how to start it and I turned in the packet that taught me how :/
Anyway, here's what I have:
Code:
public class House
{
    	public void DrawingTool(SketchPad [600,600]); //problem is here
	    DrawingTool(SketchPad); //here i know is wrong, i can fix it when ^^ is fixed
	    
        public static void main(String[]args)
    {

    
    }
}
(I've imported everything and i have the other basic stuff, the compiler says the 3rd line, public void drawingTool..., needs "]")
Artoonie is offline   Reply With Quote


Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
What does basic Java Programming language actually look like? leeroyMarv General Software 3 06-09-2006 03:48 AM
Java problem.. Hobo_man Operating Systems 2 03-03-2006 08:19 PM
Java Problems Hobo_man Operating Systems 1 03-03-2006 06:47 PM
Java jeckgo General Computer Chat 0 01-31-2006 08:31 AM
Java Runtime error box on XP? leo Operating Systems 7 06-18-2005 12:32 AM

All times are GMT +1. The time now is 01:09 PM.


Powered by: vBulletin Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Copyright © 2002-2008 Computer Forum and Web Design Forum