what does the setup() function work?

i am writing a basic program to make a shape and would like to use the setup function. Can anyone point me in the right direction.
[137 byte] By [Neosoula] at [2007-11-26 16:00:58]
# 1

> Can anyone point me in the right direction.

No, because I have no idea what class this method is in.

http://java.sun.com/j2se/1.5.0/docs/api/index.html

There are hundreds of classes. Find the one you're looking for and click on the setup() method. It will tell you what it does.

CaptainMorgan08a at 2007-7-8 22:22:29 > top of Java-index,Java Essentials,New To Java...
# 2
My guess is the assignment instructions mentions using a setup method, one which they should write themselves.
floundera at 2007-7-8 22:22:29 > top of Java-index,Java Essentials,New To Java...