Hello, I'm building a puzzle game and I got GameField class that extends JPanel and Piece class that extends JLabel.I got multiple pieces in the field. What's the easiest way to tell the GameField that MousePressed event has been executed in a piece an witch piece it is( I need that because I want to change the ZOrdering, so it's shown on the top). If you need any code, I'll add it later, but most of it is quite irrelevant.
