java简单的扫雷游戏 public void paint(Graphics g){ // setFont(new Font("Arial", Font.PLAIN, getWidth()>getHeight()?getHeight():getWidth())); if(open){ setBac