title: How to refer to actual clicked button in event handler in java fx?
body: <p>The thing is that I have two-dimensional array of buttons and I want to add setOnClick method to each of them dynamically, which changes their text, and here is a problem, because i can't use variables in this such as myArray[i][j] so in fact I have no way to refer to my buttons.</p>