mudListSelector.setVisibleRowCount(3);
mudListSelector.addListSelectionListener(new ListSelectionListener() {
public void valueChanged(ListSelectionEvent evt) {
JList list = (JList) evt.getSource();
list.ensureIndexIsVisible(list.getSelectedIndex());
String item = (String) list.getSelectedValue();
mudName.setText(item);
Object mud[] = (Object[]) mudList.get(item);
mudAddr.setText((String) mud[0]);
mudPort.setText(((Integer) mud[1]).toString());