Search:

Type: Posts; User: Junky

Search: Search took 0.08 seconds.

  1. Replies
    13
    Views
    976

    Re: Cannot figure out error

    I cannot see your latest code. Crystal ball says:


    import java.awt.Color.;

    Surely a bright person can work out the problem.
  2. Replies
    13
    Views
    976

    Re: Cannot figure out error

    Just remove the asterisk to import only the Color class.
  3. Replies
    13
    Views
    976

    Re: Cannot figure out error

    import java.awt.Color.*;

    This does not import the Color class. It imports all classes in the awt.color package.
  4. Replies
    13
    Views
    976

    Re: Cannot figure out error

    Post your code. If it is too long then create a SSCCE.
  5. Replies
    13
    Views
    976

    Re: Cannot figure out error

    String str = "hello";
    System.out.println(String str);

    What is wrong with that code?
Results 1 to 5 of 5