資源簡介
相信大家都玩過windows下的小游戲蜘蛛紙牌,此款游戲就是根據它利用java語言開發的,壓縮包內含有java源代碼和打包程序,裝上jdk后可直接運行,供大家娛樂學習之用!!
代碼片段和文件信息
import?javax.swing.*;
import?java.awt.*;
/*
?**“關于”窗口
?*/
public?class?AboutDialog?extends?JDialog
{
JPanel?jMainPane?=?new?JPanel();
JTabbedPane?jTabbedPane?=?new?JTabbedPane();
private?JPanel?jPanel1?=?new?JPanel();
private?JPanel?jPanel2?=?new?JPanel();
private?JTextArea?jt1?=?new?JTextArea(“將電腦多次分發給你的牌按照相同的花色由大至小排列起來。直到桌面上的牌全都消失。“);?
private?JTextArea?jt2?=?new?JTextArea(“該游戲中,紙牌的圖片來自于Windows?XP的紙牌游戲,圖片權屬于原作者所有!“);?
/*
?**構造函數
?*/
public?AboutDialog()
{
settitle(“蜘蛛牌“);
setSize(300200);
setResizable(false);
setDefaultCloseOperation?(WindowConstants.DISPOSE_ON_CLOSE);?
Container?c?=?this.getContentPane();
jt1.setSize(260200);
jt2.setSize(260200);
jt1.setEditable(false);
jt2.setEditable(false);
jt1.set
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????????21??2003-01-01?00:10??蜘蛛紙牌\打包發布\Spider.bat
?????文件??????17573??2003-01-01?00:10??蜘蛛紙牌\打包發布\Spider.jar
?????文件????????522??2003-01-01?00:10??蜘蛛紙牌\打包發布\images\1-1.gif
?????文件????????618??2003-01-01?00:10??蜘蛛紙牌\打包發布\images\1-10.gif
?????文件???????1093??2003-01-01?00:10??蜘蛛紙牌\打包發布\images\1-11.gif
?????文件???????1177??2003-01-01?00:10??蜘蛛紙牌\打包發布\images\1-12.gif
?????文件???????1077??2003-01-01?00:10??蜘蛛紙牌\打包發布\images\1-13.gif
?????文件????????474??2003-01-01?00:10??蜘蛛紙牌\打包發布\images\1-2.gif
?????文件????????432??2003-01-01?00:10??蜘蛛紙牌\打包發布\images\1-3.gif
?????文件????????463??2003-01-01?00:10??蜘蛛紙牌\打包發布\images\1-4.gif
?????文件????????478??2003-01-01?00:10??蜘蛛紙牌\打包發布\images\1-5.gif
?????文件????????508??2003-01-01?00:10??蜘蛛紙牌\打包發布\images\1-6.gif
?????文件????????526??2003-01-01?00:10??蜘蛛紙牌\打包發布\images\1-7.gif
?????文件????????562??2003-01-01?00:10??蜘蛛紙牌\打包發布\images\1-8.gif
?????文件????????581??2003-01-01?00:10??蜘蛛紙牌\打包發布\images\1-9.gif
?????文件????????410??2003-01-01?00:10??蜘蛛紙牌\打包發布\images\2-1.gif
?????文件????????661??2003-01-01?00:10??蜘蛛紙牌\打包發布\images\2-10.gif
?????文件???????1182??2003-01-01?00:10??蜘蛛紙牌\打包發布\images\2-11.gif
?????文件???????1226??2003-01-01?00:10??蜘蛛紙牌\打包發布\images\2-12.gif
?????文件???????1192??2003-01-01?00:10??蜘蛛紙牌\打包發布\images\2-13.gif
?????文件????????429??2003-01-01?00:10??蜘蛛紙牌\打包發布\images\2-2.gif
?????文件????????452??2003-01-01?00:10??蜘蛛紙牌\打包發布\images\2-3.gif
?????文件????????492??2003-01-01?00:10??蜘蛛紙牌\打包發布\images\2-4.gif
?????文件????????518??2003-01-01?00:10??蜘蛛紙牌\打包發布\images\2-5.gif
?????文件????????544??2003-01-01?00:10??蜘蛛紙牌\打包發布\images\2-6.gif
?????文件????????570??2003-01-01?00:10??蜘蛛紙牌\打包發布\images\2-7.gif
?????文件????????606??2003-01-01?00:10??蜘蛛紙牌\打包發布\images\2-8.gif
?????文件????????623??2003-01-01?00:10??蜘蛛紙牌\打包發布\images\2-9.gif
?????文件????????390??2003-01-01?00:10??蜘蛛紙牌\打包發布\images\3-1.gif
?????文件????????623??2003-01-01?00:10??蜘蛛紙牌\打包發布\images\3-10.gif
............此處省略97個文件信息
- 上一篇:java魔板游戲,一個j2se軟件
- 下一篇:java學生成績管理系統
評論
共有 條評論