So when I create a Tile object I want to set the up, right, down, left values into a 4 object array for the Tile Class. With the above code I'm getting an error from NetBean "variable sides might not have been initialized". I'm not sure what that means, because I'm attempting to initialize it with the build method.

Looking for help from NetBean ended up with the following, which gets the same error.

this.sides.set(0, up);

I'm new to Java so if someone could provide some I'm looking for some instruction on the concepts I'm failing to understand.