public ScheduleAccountComboBoxModel(AccountRecord account) {
        accountList = new ArrayList<AccountRecord>(AccountRecord.accounts.size());
        
        //
        // Add the available BANK and CREDIT accounts.  A hidden account will not
        // be included unless it is the current account.
        //
        for (AccountRecord a : AccountRecord.accounts) {
            if (!a.isHidden() || a == account) {
                int accountType = a.getType();
                if (accountType == AccountRecord.BANK || accountType == AccountRecord.CREDIT)
                    accountList.add(a);
            }
        }
    }