Parsing date and running into a 'static reference to the non-static method' Error in java
===

I have a line in my main like so:

    Date gameDate = DateFormat.parse(scanner.nextLine());

Essentially I want to scan in a date with util.Scanner

Which hits the error:

>*Cannot make a static reference to the non-static method parse(String) from the type DateFormat*

Now, I've looked in to this error, but it doesn't seem as clear cut as this [example][1].

How do I get round this?


  [1]: http://www.javacoffeebreak.com/articles/toptenerrors.html