mld.show();
mld.setVisible(true);
    private int chooseMineToLay() {        MineLayingDialog mld = new MineLayingDialog(clientgui.frame,ce());        mld.show();        if (mld.getAnswer() == true) {            return mld.getMine();        } else {            return -1;        }    }