Is there a way to store multiple clicks of a label in java swing.
Posted on 2012-08-11
I have created a java swing application which detects label clicks and searches the linked list for objects that match the label name.
Now I have already implemented this assuming only one label is clicked.
However let us say if a user clicks 5 labels at a time I want to capture all 5 simultaneously in order to do a comparison.
Now I would like to clarify one more thing that the labels are generated dynamically based on the number of records in the linked list.For example if the linked list has only 5 author fields,then only 5 labels are created.