I don't really know what that MouseListener is going to get you.
I already pointed you in a couple directions. Plus you're going to have to store a short history of button presses- this might just...
Type: Posts; User: KevinWorkman
I don't really know what that MouseListener is going to get you.
I already pointed you in a couple directions. Plus you're going to have to store a short history of button presses- this might just...
You could simply use a different ActionListener for each JButton (or check which instance it is in a single ActionListener), then call a function with the location of that button.
Or you could...