src/net/java/sip/communicator/plugin/desktoputil/presence/avatar/imagepicker/WebcamDialog.java
/**
     * Listens for actions for the buttons in this dialog.
     * @param e
     */
Listens for actions for the buttons in this dialog.
@param e
Listens for actions for the buttons in this dialog . @param e
public void actionPerformed(ActionEvent e)
    {
        String actName = ((JButton) e.getSource()).getName();
        if (actName.equals("grab"))
        {
            this.grabSnapshot.setEnabled(false);
            new SnapshotTimer().start();
        }
        else
        {
            close(false);
            dispose();
        }
    }
public void actionPerformed ( ActionEvent e ) { String actName = ( ( JButton ) e . getSource ( ) ) . getName ( ) ; if ( actName . equals ( "grab" ) ) { this . grabSnapshot . setEnabled ( false ) ; new SnapshotTimer ( ) . start ( ) ; } else { close ( false ) ; dispose ( ) ; } }
Listens for actions for the buttons in this dialog.
Listens for actions for the buttons in this dialog .