Search:

Type: Posts; User: pbrockway2

Search: Search took 0.09 seconds.

  1. Replies
    3
    Views
    1,286

    Re: Can't Start welcomeScreen.java

    Just to get the terminology straight you changed the static main() method into a class's constructor. (same name as class, doesn't return anything). As noted before a constructor is the right place...
  2. Replies
    3
    Views
    1,286

    Re: Can't Start welcomeScreen.java

    When you run a class what the runtime invokes is a method like:



    public static void main(String[] args) {




    You can't leave out the "static" for the reason described above.
Results 1 to 2 of 2