private void setUpContactList() {
        // Create a sample list
        contactListModel = new DefaultListModel();

        // Create JList with multiple selection and vertical orientation
        contactList = new JList(contactListModel);
        contactList.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION);
        contactList.setSelectedIndex(0);
        contactList.setLayoutOrientation(JList.VERTICAL);
        contactList.setVisibleRowCount(15);

        // Create a scroller to house the list
        contactListScroller = new JScrollPane(contactList);
        contactListScroller.setPreferredSize(new Dimension(275, 400));

        // Used to correspond from user to chat window
        usernameToChats = new HashMap<String, ConversationView>();

        // Add to the center
        this.add(contactListScroller, BorderLayout.CENTER);

        this.pack();
    }