Search:

Type: Posts; User: brando0

Search: Search took 0.10 seconds.

  1. Replies
    13
    Views
    973

    Re: Cannot figure out error

    This is what I have.

    import acm.graphics.*;
    import acm.program.*;
    import java.awt.Color;

    // -------------------------------------------------------------------------
    */
    public class...
  2. Replies
    13
    Views
    973

    Re: Cannot figure out error

    I get "<identifier> expected"
  3. Replies
    13
    Views
    973

    Re: Cannot figure out error

    I'm not sure what that means, sorry I'm really new at this
  4. Replies
    13
    Views
    973

    Re: Cannot figure out error

    import acm.graphics.*;
    import acm.program.*;
    import java.awt.Color.*;

    // -------------------------------------------------------------------------
    */
    public class Cartoon extends...
  5. Replies
    13
    Views
    973

    Re: Cannot figure out error

    Yes
  6. Replies
    13
    Views
    973

    Re: Cannot figure out error

    leftInnerEar.setFilled(true);
    leftInnerEar.SetColor(Color.RED);

    With this as my code I get "cannot find symbol - variable Color"
  7. Replies
    13
    Views
    973

    Cannot figure out error

    leftInnerEar.setFilled(true);
    leftInnerEar.SetColor(Color red)

    When I try to compile I get the error message " ')' expected" but have no idea why this is happening. Thank you for your help

    ---...
Results 1 to 7 of 7