Command button + List selected item
My application has a list visible and a few commands that trigger things for the selected item in the list. In the command's actionperformed i'm getting the selected item for the list and do my thing.
The problem is that when the user is fast and triggers the command, after that quickly picks an other item in the list using the up/down keys the wrong item (the newly selected one) is selected in the actionperformed.
Is this a known problem? Is the edt free between the command being triggered and it's actionperformed method being called?