Using locations with pixels and on a graphical window i think

what is a GUI?

I have no starting code, i have no idea how to do this

Can someone help me with the code for this assignment i have for school using dr java

Project Assignment:Write a method drawFace() which will draw a face on the picture. Your face should have eyes, mouth and text beneath it that provides it with a name.

The turtle should draw a tree in "new World"

It is a turtle class . The tree should show up in "new World" what is GUI

I just need the code for how to draw the tree using drawRectangle method

Can someone please help me "write a drawTree method for the Turtle class"

I am given the following information:

World w = new World();
Turtle t = newTurtle (320, 480, w);

The turtle will begin at the middle of the bottom of the World, facing North.

Use the drawRectangle method to draw the trunk of the tree

public void drawTree()

{

could my compiler be the problem? i am using eclipse 0.A48

i tried that, the compile completes without error but it dosent tell me wether the numbers (-5, 0, 7) are even or odd which is the main part of the whole code

it says

"File: C:\Users\Kaamil\NumberEvaluator.java [line: 22]
Warning: The local variable number is never read"

what do i do to make this work?
and i have to use print as this is for school

change the
" nE.evenOdd(-5);
nE.evenOdd(0);
nE.evenOdd(7);"

change each of those?

ok so i saved it as NumberEvaluater but now the error has changed. It now says
"File: C:\Users\Kaamil\NumberEvaluator.java [line: 3]
Error: Duplicate method evenOdd(int) in type NumberEvaluator"

does this mean i should just delete line 3?

I just deleted line 3 and now the error is
"File: C:\Users\Kaamil\NumberEvaluator.java [line: 22]
Warning: The local variable number is never read"

Please help!?!?

so which one is that? and is that the only change i have to make?

sorry, somewhat hard to understand (im completly new at this) can you please show me the proper coding, and does that mean i save the file as NumberEvaluater or as evenOdd?

Can some one help me with my programming project, it is supposed to loop. If the number is even output comes out even and vise-versa. Can someone please tell me what is wrong with my code.

Errors
"3 errors found:
File: C:\Users\Kaamil\evenodd test.java [line: 1]
Error: The public type NumberEvaluator must be defined in its own file
File: C:\Users\Kaamil\evenodd test.java [line: 3]
Error: Duplicate method evenOdd(int) in type NumberEvaluator
File: C:\Users\Kaamil\evenodd test.java [line: 8]
Error: Duplicate method evenOdd(int) in type NumberEvaluator"

Code.

public class NumberEvaluator
{
 public void evenOdd(int num)
 {

 }

 public void evenOdd(int num)
 {
  if (num % 2 == 0)
  {
    System.out.println ("even");
  }
  else
  {
    {
     System.out.println ("odd"); 
    }
  }
 }
 public static void main(String [] args)
 {
   int number;
   NumberEvaluator nE = new NumberEvaluator();
   nE.evenOdd(-5);
   nE.evenOdd(0);
   nE.evenOdd(7);
 }
}