public void setValueAt(Object value, int rowIndex, int columnIndex)
    {
        
        
        
        Reference.isSaved = false;
        DebtAccount account = debtAccounts.get(rowIndex);
        switch (columnIndex) {
            case 0:
            {
               
                account.accountName = (String) value;
                debtAccounts.remove(rowIndex);
                debtAccounts.add(rowIndex, account);
                    
                
                    Reference.debtAccounts = debtAccounts;
                    break;
            }   
            case 1: 
            {
                
                
                if(account.isNew)
                {
                    
                    account.balance = Float.parseFloat((String) value);
                    account.initialBalance = Float.parseFloat((String) value);  
                    account.isNew = false;
                    
                }
                else if( Float.parseFloat((String) value) > account.initialBalance)
                {
                    
                    account.balance = Float.parseFloat((String) value);
                    account.initialBalance = Float.parseFloat((String) value);
                    
                }
                else
                    account.balance = Float.parseFloat((String) value);
                
                
                if(account.balance <= 0)
                    account.isNew = true;
                
                debtAccounts.remove(rowIndex);
                debtAccounts.add(rowIndex, account);
                
                Reference.debtAccounts = debtAccounts;
                break;
                
            }
            case 2: 
            {
                account.monthlyPayment = Float.parseFloat((String) value);
                debtAccounts.remove(rowIndex);
                debtAccounts.add(rowIndex, account);
                
                Reference.debtAccounts = debtAccounts;
                Reference.monthlyBillsLabel.setText("Monthly Bills: " + cf.format(AccountManager.getTotalMonthlyBills()));
                break;
            }
            case 3:
            {
                
                account.apr = Float.parseFloat((String) value);
                debtAccounts.remove(rowIndex);
                debtAccounts.add(rowIndex, account);
                
                Reference.debtAccounts = debtAccounts;
                break;
                
            }
            default: break;
        
        } 
    }