Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Turtle Graphics - Help!!

  1. #1
    Junior Member
    Join Date
    Oct 2011
    Thanked 0 Times in 0 Posts

    Default Turtle Graphics - Help!!

    So basically I've been given an assignment, which is the following:
    Complete Option 1 or Option 2 below. Either option must include at least three of each of the following:
    • drawSquare
    • drawHexagon
    • drawPolygon
    • drawOctagon
    • drawEquilateralTriangle

    Say and include at least two of the following:
    • swingAround
    • fillCircle
    • fillBox
    • Cover the entire "world" (terminal screen)

    Option 1:
    • Use this object to draw an original graphic design. Your graphic design must include at least two colors other than black and white.

    Option 2:
    • Use this object to create an interesting animation. Your animation must last two minutes.

    And this is what I have so far:
    public class CreateASmartTurtle
        public static void main()
            SmartTurtle OG = new SmartTurtle();

    As you can see, I am totally lost on what to do. Can anyone possibly make me an interesting design following those standards? It would be much appreciated, thank you!

  2. #2
    Forum Squatter newbie's Avatar
    Join Date
    Nov 2010
    North Wales
    My Mood
    Thanked 115 Times in 106 Posts
    Blog Entries

    Default Re: Turtle Graphics - Help!!

    As you can see, I am totally lost on what to do
    To be blunt with you, nothing there demonstrates how 'lost' you are, only that you've copied down your assignment specification and posted an extremely lacking segment of code.
    As I'm sure you're already aware, having posted many times in the past, this is not a homework service and no-one here is going to complete your assignment for you.

    Suggested Reading: http://www.javaprogrammingforums.com...e-posting.html

    Now with that in mind, I suggest you re-word your question to something which could allow us to help you with a real problem, E.g. Exceptions you are receiving or program logic you can't quite get your head around.
    Please use [highlight=Java]//code goes here...[/highlight] tags when posting your code

Similar Threads

  1. how to use graphics g
    By steel55677 in forum AWT / Java Swing
    Replies: 11
    Last Post: November 21st, 2011, 05:35 PM
  2. Graphics in programs.
    By tyb97 in forum AWT / Java Swing
    Replies: 6
    Last Post: October 11th, 2011, 08:35 AM
  3. Graphics class NullPointerException Initialize Graphics Class??
    By bglueck in forum What's Wrong With My Code?
    Replies: 7
    Last Post: May 13th, 2011, 11:13 PM
  4. Help about Graphics
    By mamech in forum What's Wrong With My Code?
    Replies: 13
    Last Post: September 9th, 2010, 03:20 PM
  5. graphics in job?
    By SweetyStacey in forum The Cafe
    Replies: 10
    Last Post: May 3rd, 2010, 03:29 PM