Search:

Type: Posts; User: ProgrammerNoobE

Search: Search took 0.07 seconds.

  1. Re: When I run my program, it says error: java.lang.NullPointerException

    To change it all to boolean takes to long. there is only one error left. an out of bounderies error, could you see it?

    code:

    import java.util.*;
    import java.io.*;

    class GameOfLife{ // main...
  2. Re: When I run my program, it says error: java.lang.NullPointerException

    Thank you again!

    I think I'm almost there, just have my doubts about the output

    My recent code:



    import java.util.*;
    import java.io.*;
  3. Re: When I run my program, it says error: java.lang.NullPointerException

    My new code:




    import java.util.*;
    import java.io.*;

    class GameOfLife{ // main class
    Field field = new Field();
  4. Re: When I run my program, it says error: java.lang.NullPointerException

    It reads the file
    Then calculates the number of rows(lines)
    I added 2, because I want to make a border around it
  5. When I run my program, it says error: java.lang.NullPointerException

    I tried to write a program such as the game of life, but without the sourcecode of the game of life. Just with the things I learned so far.

    It is not quit clean, but when it works it is fine to...
Results 1 to 5 of 5