Search:

Type: Posts; User: copeg

Search: Search took 0.15 seconds.

  1. Replies
    6
    Views
    3,197

    Re: problem in 2D array of TextField

    Do you mean something like this?


    String[] strings = new String[1];
    int len = strings[0].length();//NullPointerException, the value strings[0] was never initialized
    string[0] = new...
  2. Replies
    6
    Views
    3,197

    Re: problem in 2D array of TextField

    Based upon that it sure looks like it compiles...a NullPointerException is a runtime exception ;) . Did you have a look at the link I posted above? You've created an array without initializing its...
  3. Replies
    6
    Views
    3,197

    Re: problem in 2D array of TextField

    Define can't display...does it compile? Are there any exceptions? (hint: see Common Java Mistakes)
Results 1 to 3 of 3