資源簡介
用java技術實現windows自帶的蜘蛛紙牌游戲

代碼片段和文件信息
package?com.guo.game;
/**
?*?生成蜘蛛紙牌游戲的幫助
?*?@author?count
?*?@version?1.0?2013/05/10
?*/
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(“該游戲中,紙牌的圖片來自于Windos?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.setLineWrap(true)?;
jt2.setLineWrap(true)?;
jt1.setFont(new?Font(“楷體_GB2312“??java.awt.Font.BOLD13))?;
jt1.setForeground(Color.black)?;
jt1.setFont(new?Font(“楷體_GB2312“??java.awt.Font.BOLD13))?;
jt1.setForeground(Color.black)?;
jPanel1.add(jt1)?;
jPanel2.add(jt2)?;
jTabbedPane.setSize(300200)?;
jTabbedPane.addTab(“游戲規則“nulljPanel1null)?;
jTabbedPane.addTab(“聲明“nulljPanel2null)?;
jMainPane.add(jTabbedPane)?;
c.add(jMainPane)?;
pack()?;
this.setVisible(true)?;
}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????301??2013-05-09?23:04??CardsGame\.classpath
?????文件????????385??2013-05-09?23:04??CardsGame\.project
?????文件????????598??2013-05-09?23:04??CardsGame\.settings\org.eclipse.jdt.core.prefs
?????文件???????2092??2013-05-20?21:36??CardsGame\bin\com\guo\game\AboutDialog.class
?????文件???????1161??2013-05-20?21:36??CardsGame\bin\com\guo\game\PKCard$Flash.class
?????文件???????6252??2013-05-20?21:36??CardsGame\bin\com\guo\game\PKCard.class
?????文件????????723??2013-05-20?21:36??CardsGame\bin\com\guo\game\Spider$1.class
?????文件????????646??2013-05-20?21:36??CardsGame\bin\com\guo\game\Spider$2$Show.class
?????文件???????1049??2013-05-20?21:36??CardsGame\bin\com\guo\game\Spider$2.class
?????文件???????8541??2013-05-20?21:36??CardsGame\bin\com\guo\game\Spider.class
?????文件????????809??2013-05-20?21:36??CardsGame\bin\com\guo\game\SpiderMenuBar$1.class
?????文件????????873??2013-05-20?21:36??CardsGame\bin\com\guo\game\SpiderMenuBar$2.class
?????文件????????807??2013-05-20?21:36??CardsGame\bin\com\guo\game\SpiderMenuBar$3.class
?????文件????????863??2013-05-20?21:36??CardsGame\bin\com\guo\game\SpiderMenuBar$4.class
?????文件????????888??2013-05-20?21:36??CardsGame\bin\com\guo\game\SpiderMenuBar$5.class
?????文件????????888??2013-05-20?21:36??CardsGame\bin\com\guo\game\SpiderMenuBar$6.class
?????文件????????888??2013-05-20?21:36??CardsGame\bin\com\guo\game\SpiderMenuBar$7.class
?????文件???????1152??2013-05-20?21:36??CardsGame\bin\com\guo\game\SpiderMenuBar$8.class
?????文件????????754??2013-05-20?21:36??CardsGame\bin\com\guo\game\SpiderMenuBar$9.class
?????文件????????641??2013-05-20?21:36??CardsGame\bin\com\guo\game\SpiderMenuBar$Show.class
?????文件???????2667??2013-05-20?21:36??CardsGame\bin\com\guo\game\SpiderMenuBar.class
?????文件???????3901??2013-05-20?21:36??CardsGame\bin\com\guo\game\testFile.class
?????文件???????1214??2010-03-11?16:20??CardsGame\image\11.bmp
?????文件???????1214??2010-03-11?16:20??CardsGame\image\110.bmp
?????文件???????3574??2010-03-11?16:21??CardsGame\image\111.bmp
?????文件???????3550??2010-03-11?16:21??CardsGame\image\112.bmp
?????文件???????3550??2010-03-11?16:21??CardsGame\image\113.bmp
?????文件???????1198??2010-03-11?16:23??CardsGame\image\12.bmp
?????文件???????1198??2010-03-11?16:24??CardsGame\image\13.bmp
?????文件???????1198??2010-03-11?16:26??CardsGame\image\14.bmp
............此處省略64個文件信息
評論
共有 條評論