@Override
        public void mouseClicked(MouseEvent e)
        {
            JList<?> userList = (JList<?>) e.getSource();
            if (e.getClickCount() == 2)
            {
                int index = userList.locationToIndex(e.getPoint());
                if (index >= 0)
                {
                    // Ⱥ
                    if (e.getSource() == groupList)
                    {
                        CommonData.getGroupChatFrame().setVisible(true);
                    }

                    // һһ
                    else
                    {
                        String userName = userList.getModel().getElementAt(index).toString();

                        ChatFrame chatFrame = new ChatFrame(userName);
                        chatFrame.setVisible(true);

                        // ӵû
                        CommonData.getChatUserMap().put(userName, chatFrame);
                    }
                }
            }
        }