ArrayList<Integer>[][] matrix = new ArrayList<Integer]>[sizeX][sizeY]();
or
ArrayList<Integer>[][] matrix = new ArrayList<Integer]>()[sizeX][sizeY];
don't work, I'm starting to think that it's not even possible to store ArrayLists in a matrix?