搜索资源列表
ins123
- 基于GUI的Java五子棋游戏源码,可人机对战,用java swing做的,运行时 需要修改图片的路径。 制作思路: 用按钮做棋子,用图片填充每个按钮。 设置棋盘为24*24的,五子棋FiveChessGame类,继承了JFrame,并且 添加了时间监听,五子棋的棋子chess,用JButton表示,五子棋棋子chess 对应的棋子标识,用于标记棋子的状态。 1表示黑棋,-1表示白棋,默认0表 示无棋子,点击棋子时设置棋子的图标setOnChessI
Puzzle
- 利用frame上的JButton做的一个九宫格游戏,实际上可以十六,二十五宫格甚至更多,希望对大家有用-Frame JButton do a squared game, can actually sixteen, 25, cellular or even more, the hope that useful
doudizhu
- 斗地主游戏,有叫牌,发牌,不要,再来一局等功能-public Container container = null // 定义容器 JMenuItem start, exit, about // 定义菜单按钮 JButton landlord[]=new JButton[2] //抢地主按钮 JButton publishCard[]=new JButton[2] //出牌按钮 int dizhuFlag //地主标志 int turn
KtvSystarena
- ktv点歌系统,用jbutton JLabel 等书写的,与数据库连接。-ktv VOD system, writing, etc. jbutton JLabel connection with the .