if (null == c) return;
if (c == null) return;
    public void centerOnHex(Coords c) {        if (null == c) return;        scroll.setLocation(getHexLocation(c));        scroll.translate((int) (42 * scale) - (view.width / 2), (int) (36 * scale) - (view.height / 2));        isScrolling = false;        checkScrollBounds();        repaint();    }