I have an application implemented with Java Swing. The main view of the applications is divided in a left side and a right side. The top of the right side contains a SearchField, and a list of search results is shown below the field. The user search for items using the SearchField then the user selects one of the items in the search results to be added to the list on the left side.
Think of this as an application where the user "build up" an order from items that are found by searching.
+------------------------+-----------------------+
| | SearchField |
| +-----------------------+
| | |
| | |
| | |
| List of | List of |
| added | matched |
| items | items |
| | |
| | |
| | |
+------------------------+-----------------------+
How should the user select the item in the search results and add it to the left list? By default in Java Swing when I have a JList or JTable the items are selected when the user clicks on an item. It have been natural if there was an "Add"-button for each item, I guess. But I have to do some work arounds if it should work like that in Java Swing. "Add" an item by double clicking it would work, but it's not that intuitive. Select an item and then press enter isn't that intuitive either.
But if I had implemented this as a web application it had been natural to have an "Add"-link for each item in the list of search results.
How should I solve this usability problem? Is it best to have an "Add"-button for each item, or is there a more intuitive solution? I feel that the user interface will look "messy" if every item has a default Button, so I guess that I have to use a more discrete custom button if a button is the solution.