One way would be to use the ClientProperties of the JComponent class. The ClientProperties is a hashtable.
You could create an object with the x,y for the button and save/put it in the...