table.getJfritz().getJframe().getCallerListPanel() .setDeleteEntryButton(); } else if (rows.length > 0) { if (rows.length == table.getRowCount()) table.getJfritz().getJframe().getCallerListPanel() .setDeleteListButton(); else table.getJfritz().getJframe().getCallerListPanel() .setDeleteEntriesButton(rows.length); } else { table.getJfritz().getJframe().getCallerListPanel() .disableDeleteEntriesButton();
	public void valueChanged(ListSelectionEvent e) {		if (!e.getValueIsAdjusting()) {			String str = "";			VCardList list = new VCardList();			Clipboard clip = Toolkit.getDefaultToolkit().getSystemClipboard();			Person person = null;			int rows[] = table.getSelectedRows();			for (int i = 0; i < rows.length; i++) {				person = (Person) table.getModel().getValueAt(rows[i], 3);				if (person != null && person.getFullname() != "") { // FIXME					// person.getVCard					list.addVCard(person);				}			}			StringSelection cont = new StringSelection(list.toVCardList());			clip.setContents(cont, null);			if (rows.length == 1) {				// table.getJfritz().getJframe().getPhoneBookPanel().getPersonPanel().setPerson(person);				PhoneBookTable pt = table.getJfritz().getJframe()						.getPhoneBookPanel().getPhoneBookTable();				Vector persons = table.getJfritz().getPhonebook().getFilteredPersons();				for (int i = 0; i < persons.size(); i++) {					Person p = (Person) persons.get(i);					if (p == person) {						pt.getSelectionModel().setSelectionInterval(i, i);						table.getJfritz().getJframe().getPhoneBookPanel()								.showPersonPanel();						break;					}				}			}		}	}