Search:

Type: Posts; User: bartolio

Search: Search took 0.19 seconds.

  1. Replies
    4
    Views
    2,814

    Re: Why can't I close my JFrame ?

    It works! Thanks for the quick replies!
  2. Replies
    4
    Views
    2,814

    Re: Why can't I close my JFrame ?

    I still don't know what to do?
  3. Replies
    4
    Views
    2,814

    Why can't I close my JFrame ?

    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...
  4. Re: nullpointer exception when adding Object to ArrayList

    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);
    ...
  5. Re: nullpointer exception when adding Object to ArrayList

    Is this what you need?

    java.lang.NullPointerException
    at Game.createRooms(Game.java:136)
    at Game.<init>(Game.java:33)
  6. Re: nullpointer exception when adding Object to ArrayList

    I've uploaded the game, can you please check it out?

    http://rapidshare.com/files/1529024034/Versie%2008.zip
  7. Re: nullpointer exception when adding Object to ArrayList

    Oke sorry, I'm still learning
  8. Re: nullpointer exception when adding Object to ArrayList

    The error message is: java.lang.NullPointerException: null

    and the code is




    public class Game
    {
    private Parser parser;
  9. Re: nullpointer exception when adding Object to ArrayList

    Oh sorry, I meant that I've editted the post, why can't i see the post anymore? did I made a mistake?
  10. Re: nullpointer exception when adding Object to ArrayList

    Done
Results 1 to 10 of 12