if (null == point) {
if (point == null) {
    public void mousePressed(MouseEvent me) {        scrolled = false; // not scrolled yet        Point point = me.getPoint();        if (null == point) {            return;        }        oldMousePosition = point;        isTipPossible = false;        for (int i = 0; i < displayables.size(); i++) {            Displayable disp = (Displayable) displayables.elementAt(i);            if ((backSize != null) && (disp.isHit(point, backSize))) {                return;            }        }        // Disable scrolling when ctrl or alt is held down, since this        //  means the user wants to use the LOS/ruler tools.        int mask = InputEvent.CTRL_MASK | InputEvent.ALT_MASK;        if (!GUIPreferences.getInstance().getRightDragScroll() &&                !GUIPreferences.getInstance().getAlwaysRightClickScroll() &&                game.getPhase() == IGame.PHASE_FIRING) {            // In the firing phase, also disable scrolling if            // the right or middle buttons are clicked, since            // this means the user wants to activate the            // popup menu or ruler tool.            mask |= InputEvent.BUTTON2_MASK | InputEvent.BUTTON3_MASK;        }        // disable auto--edge-scrolling if no option set        if (!GUIPreferences.getInstance().getAutoEdgeScroll()) {            mask |= InputEvent.BUTTON1_MASK;        }        // disable edge-scrolling if no option set        if (!GUIPreferences.getInstance().getClickEdgeScroll()) {            mask |= InputEvent.BUTTON3_MASK;        }        if (GUIPreferences.getInstance().getRightDragScroll()) {            mask |= InputEvent.BUTTON2_MASK;        }        if ((me.getModifiers() & mask) == 0) {            isScrolling = true; //activate scrolling        } else {            isScrolling = false; //activate scrolling        }        if (isTipShowing()) {            hideTooltip();        }        mouseAction(getCoordsAt(point), BOARD_HEX_DRAG, me.getModifiers());    }