custom Java class

I’d like to implement an actionListener and figure out the # of the player who activated it (ie, a button). How would I go about this? Is this information included in the ActioEvent object that the listener catches?

ultimate objectives:

-create a custom java button in each of the 8 players’ respective windows (X-Wing module)
-these buttons have rich custom java classes that can’t be replicated inside the vassal editor, so I can’t simply mimick the “Belongs to side” that some traits have in the vassal editor
-each player only has rights to click their own button
-an observer can’t click the buttons