public void
mouseClicked(java.awt.event.MouseEvent me) {
    
//    System.out.println("\n mouseClicked");
    TWPoint p = drawBoard_.mapClickToRowAndCol(new TWPoint(me.getPoint()));
//    System.out.println("mouse click @ " + p.x + "/" + p.y);

    if (currentState_ == STATE_PLACE_PEG) {
        tryPlacePeg(p);
    	}
    else
    if (currentState_ == STATE_PLACE_LINK_START) {
        tryPlaceLinkStart(p);
    	}
    else
    if (currentState_ == STATE_PLACE_LINK_END) {
        tryPlaceLinkEnd(p);
    	}
    else
    if (commControl_.isConnected() && currentState_ == STATE_NET_START) {
       
        if (tryPlacePeg(p)) {
            
            // We got the drop on 'em. We go first.
            //
            System.out.println("We got the drop on 'em!");
            currentPlayerIndex_ = thisPlayerIndex_;
            setPlayerTurn(currentPlayerIndex_);
            showMessage("You are Red player.");
            setYouLabel("Red");
            sendState();
	        }
	    }

	} // mouseClicked