public void actionPerformed (ActionEvent e)
    {
        if (e.getSource() instanceof JButton)
        {
            //make new jframe asking "are you sure"
            //if yes, client.disconnect
            //if no, kill jframe and do nothing
            JOptionPane sure = new JOptionPane ("Exit audiochat", JOptionPane.INFORMATION_MESSAGE);
            
            int dave = JOptionPane.showConfirmDialog(null,"Are you sure you want to exit audiochat?", "Exit Audiochat", JOptionPane.YES_NO_OPTION);
            if (dave==0)
            {
                stopRunning();
                
            }
            else if (dave==1)
            {
            }
            
        }
    }