Hi,
From what i get, u have a JList with some values in it and u want to send the selected item from the list to some method. If ur q is this, then the solution is casting.
Ex.
String selValue=(String)customerList.getSelectedValue();
method(selValue);
Hope this helps,
Reddy316