Integer accId = new Integer(((Account) accounts.elementAt(i)).id);
Account acc = (Account) accounts.elementAt(i);  Integer accId = new Integer(acc.id);
    public void jButton3MouseClicked(java.awt.event.MouseEvent evt) {        int i = jList1.getSelectedIndex();        if (i > -1) {            Integer accId = new Integer(((Account) accounts.elementAt(i)).id);            setValues(accId);            modified = false;            restoreColor();            jButton3.setEnabled(false);        }    }