简易版扫雷程序代码 publicclassMineSweeperGame2extendsApplication{ Cell[][]cell; inttotalMines=0; intmarkBomb=0;//总的地雷数量,简单会有10个,一般会有40个,困难99个 intshowMines=10; Strings=String.valueOf(showMines); Labeltips=newLabel("Gameisrunning!"); LabelshowMineNum=newLabel("