It works! Thanks for the quick replies!
Type: Posts; User: bartolio
It works! Thanks for the quick replies!
I still don't know what to do?
This is just a small piece of the code, but when I run this I get an error.
private void buildGUI() {
addressView = new JXAddressView();
addressView.setData(this);
JFrame frame = new...
I knew that is had a null value, I just don't know why because the method first creates a new Room object and than adds it to the ArrayList
garden = new Room("description");
rooms.add(garden);
...
Is this what you need?
java.lang.NullPointerException
at Game.createRooms(Game.java:136)
at Game.<init>(Game.java:33)
I've uploaded the game, can you please check it out?
http://rapidshare.com/files/1529024034/Versie%2008.zip
Oke sorry, I'm still learning
The error message is: java.lang.NullPointerException: null
and the code is
public class Game
{
private Parser parser;
Oh sorry, I meant that I've editted the post, why can't i see the post anymore? did I made a mistake?