You are getting StdDraw cannot be resolved because the StdDraw class has to be in the same package as this class