public static void updateAccountView() {
        Investor inv = (Investor) userList.get(userIndex);
        investorGUI.getBrokerNameText().setText(inv.getBroker().getFname()
                .concat(" ").concat(inv.getBroker().getLname()));
        investorGUI.getBalanceText().setText(Double.toString(
                inv.getAccount().getCashBalance()));
        investorGUI.getMarginText().setText(Double.toString(
                inv.getAccount().getMarginBorrowed()));
        investorGUI.getBuyLongText().setText(Double.toString(
                inv.getAccount().getAvailFundsToBuyLong()));
        investorGUI.getSellShortText().setText(Double.toString(
                inv.getAccount().getAvailFundsToSellShort()));
        investorGUI.getPercentEquityText().setText(Double.toString(
                inv.getAccount().getPercentEquity()));
        
        Account acct = inv.getAccount();
        Portfolio folio = inv.getPortfolio();
        double totalMarketValue = 0;
        ArrayList<Position> positions = folio.getPositions();
        ArrayList<Trade> trades = folio.getTradeHistory();
        ArrayList<CashTransaction> cashTrans = acct.getCashHistory();
        ArrayList<MarginTransaction> margTrans = acct.getMarginHistory();
        DefaultListModel positionModel = new DefaultListModel();
        DefaultListModel pendingModel = new DefaultListModel();
        DefaultListModel tradesModel = new DefaultListModel();
        DefaultListModel cashHistModel = new DefaultListModel();
        DefaultListModel margHistModel = new DefaultListModel();
        
        investorGUI.getStockOwnedList().setModel(positionModel);
        investorGUI.getPendingList().setModel(pendingModel);
        investorGUI.getTradeHistoryList().setModel(tradesModel);
        investorGUI.getCashHistoryList().setModel(cashHistModel);
        investorGUI.getMarginHistoryList().setModel(margHistModel);
        
        // Build the list of positions
        if(!positions.isEmpty()) {
            for(int i = 0; i < positions.size(); i++) {
                positionModel.addElement(positions.get(i));
                totalMarketValue += positions.get(i).getMarketValue();
            }
            
            investorGUI.getMarketValueText().setText(Double.toString(totalMarketValue));
            investorGUI.getStockOwnedList().setModel(positionModel);
        }
        
        // Build the list of trades
        if(!trades.isEmpty()) {
            for(int i = 0; i < trades.size(); i++) {
                tradesModel.addElement(trades.get(i));
                
                if(trades.get(i).getPending()) {
                    pendingModel.addElement(trades.get(i));
                }
            }
            
            investorGUI.getTradeHistoryList().setModel(tradesModel);
            investorGUI.getPendingList().setModel(pendingModel);
        }
        
        // Build the list of cash transactions
        if(!cashTrans.isEmpty()) {
            for(int i = 0; i < cashTrans.size(); i++) {
                cashHistModel.addElement(cashTrans.get(i));
            }
            
            investorGUI.getCashHistoryList().setModel(cashHistModel);
        }
        
        // Build the list of margin transactions
        if(!margTrans.isEmpty()) {
            for(int i = 0; i < margTrans.size(); i++) {
                margHistModel.addElement(margTrans.get(i));
            }
            
            investorGUI.getMarginHistoryList().setModel(margHistModel);
        }
    }