private void intiInterface()
    {
        userNameFont = new Font("԰", Font.BOLD, 18);
        userNameColor = new Color(130, 150, 250);

        JPanel topPanel = new JPanel();
        // userNameLab = new JLabel(CommonData.getUserName());
        userNameLab = new JLabel(CommonData.getUserName());
        userNameLab.setFont(userNameFont);
        userNameLab.setBackground(userNameColor);
        topPanel.add(userNameLab);
        topPanel.setBackground(Color.white);

        // ----------- ûlist ----------//
        JScrollPane userListScrollPane = new JScrollPane();
        onlineUserList = new ChatList();
        onlineUserList.addMouseListener(new listMouseListener());
        userListScrollPane.setViewportView(onlineUserList);

        // ----------- Ⱥpane ------------//
        JScrollPane groupListScrollPane = new JScrollPane();
        groupList = new ChatList();
        groupList.addMouseListener(new listMouseListener());
        groupList.addItem("Group Chat");
        groupListScrollPane.setViewportView(groupList);

        // ----------- tab ----------//
        tabPane = new JTabbedPane();
        tabPane.addTab("Online Client", userListScrollPane);
        tabPane.addTab(" ~ Group ~ ", groupListScrollPane);

        // ------------------ ------------------------//
        this.getContentPane().setBackground(Color.white);
        this.getContentPane().setLayout(new BorderLayout());
        this.getContentPane().add(topPanel, BorderLayout.NORTH);
        this.getContentPane().add(tabPane, BorderLayout.CENTER);

        this.setAlwaysOnTop(true); // ö
        this.setDefaultCloseOperation(EXIT_ON_CLOSE); // Ĭϵرհťʱ˳
        this.setResizable(false);
        this.setSize(300, 700);
        Dimension screenDim = Toolkit.getDefaultToolkit().getScreenSize();
        this.setLocation((int) ((screenDim.width - 350) / 1.2), (int) ((screenDim.height - 800) / 2));
    }