src/net/java/sip/communicator/impl/gui/main/call/PreCallDialog.java
/**
     * Handles <tt>ActionEvent</tt>s triggered by pressing the call or the
     * hangup buttons.
     * @param e The <tt>ActionEvent</tt> to handle.
     */
Handles ActionEvents triggered by pressing the call or the
hangup buttons.
@param e The ActionEvent to handle.
Handles ActionEvents triggered by pressing the call or the hangup buttons . @param e The ActionEvent to handle .
public void actionPerformed(ActionEvent e)
    {
        JButton button = (JButton) e.getSource();
        String buttonName = button.getName();
        if (buttonName.equals(CALL_BUTTON))
        {
            callButtonPressed();
        }
        else if (buttonName.equals(CONF_CALL_BUTTON))
        {
            mergeCallButtonPressed();
        }
        else if (buttonName.equals(VIDEO_CALL_BUTTON))
        {
            videoCallButtonPressed();
        }
        else if (buttonName.equals(HANGUP_BUTTON))
        {
            hangupButtonPressed();
        }
        dispose();
    }
public void actionPerformed ( ActionEvent e ) { JButton button = ( JButton ) e . getSource ( ) ; String buttonName = button . getName ( ) ; if ( buttonName . equals ( CALL_BUTTON ) ) { callButtonPressed ( ) ; } else if ( buttonName . equals ( CONF_CALL_BUTTON ) ) { mergeCallButtonPressed ( ) ; } else if ( buttonName . equals ( VIDEO_CALL_BUTTON ) ) { videoCallButtonPressed ( ) ; } else if ( buttonName . equals ( HANGUP_BUTTON ) ) { hangupButtonPressed ( ) ; } dispose ( ) ; }
Handles <tt>ActionEvent</tt>s triggered by pressing the call or the
 hangup buttons.
Handles <tt > ActionEvent< / tt > s triggered by pressing the call or the hangup buttons .