Hello alpvii, welcome to the forums.

What errors are you getting?



// creates the buttons
Button[][] button = new Button[3][3];