View Single Post
  #2   Spotlight this post!  
Unread 14-08-2011, 21:55
Sunstroke Sunstroke is offline
Programmer
AKA: Joe Grinstead
FRC #3504 (Girls of Steel)
Team Role: Mentor
 
Join Date: Apr 2009
Rookie Year: 2009
Location: New England
Posts: 49
Sunstroke is an unknown quantity at this point
Re: Just installed Java: example won't compile

So you should definitely keep the package line where it was.

You should also have the top of the class be (after the package declaration and the import stuff):

public class 1310Robot extends SimpleRobot {
...
}

My guess is that you removed the "extends SimpleRobot" part, which would cause the "Unused Import" warning.
Reply With Quote