how can I swing the JList so that its elements are selected with any mouse, not just the left one?
thanks!
oh just found a function
int s = list.locationToIndex(e.getPoint()); list.setSelectedIndex(s);
when you do this in mouselistener it does the job.