I am studying a java tutorial and saw that the way to find the x/y indexes of a JButton inside a GridLayout is to traverse a bidimensional array of buttons b which is associ
From JButtons
JButton#setName(String);
JBUtton#setActionCommand(String);
JBUtton#setAction(Action);
from/to Container
SwingUtilities#convert...
SwingUtilities#getDeepestComponentAt