中国象棋 楚汉棋兵
联网对战、打谱、八皇后、迷宫求解、人机对弈
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2013-03-30 00:31 FansChineseChess2.0
目录 0 2013-03-30 00:10 FansChineseChess2.0.metadata
文件 1026293 2012-08-28 15:15 FansChineseChess2.0.metadata.bak_0.log
文件 1025644 2012-08-28 15:43 FansChineseChess2.0.metadata.bak_1.log
文件 0 2012-04-04 19:43 FansChineseChess2.0.metadata.lock
文件 399875 2013-09-15 09:36 FansChineseChess2.0.metadata.log
目录 0 2013-03-30 00:10 FansChineseChess2.0.metadata.mylyn
目录 0 2013-03-30 00:10 FansChineseChess2.0.metadata.mylyn.taskListIndex
文件 20 2012-11-03 16:51 FansChineseChess2.0.metadata.mylyn.taskListIndexsegments.gen
文件 32 2012-11-03 16:51 FansChineseChess2.0.metadata.mylyn.taskListIndexsegments_1
文件 250 2012-11-03 16:51 FansChineseChess2.0.metadata.mylyn.tasks.xml.zip
目录 0 2012-04-04 19:43 FansChineseChess2.0.metadata.mylyncontexts
文件 438 2012-04-04 19:45 FansChineseChess2.0.metadata.mylyn
epositories.xml.zip
文件 250 2012-11-03 17:11 FansChineseChess2.0.metadata.mylyn asks.xml.zip
目录 0 2013-09-15 11:40 FansChineseChess2.0.metadata.plugins
目录 0 2013-03-30 00:10 FansChineseChess2.0.metadata.pluginscom.collabnet.subversion.merge
目录 0 2012-11-03 16:49 FansChineseChess2.0.metadata.pluginscom.collabnet.subversion.mergeMergeResults
目录 0 2013-09-15 12:10 FansChineseChess2.0.metadata.pluginsorg.eclipse.compare
文件 462 2013-09-15 12:10 FansChineseChess2.0.metadata.pluginsorg.eclipse.comparedialog_settings.xml
目录 0 2013-09-15 12:10 FansChineseChess2.0.metadata.pluginsorg.eclipse.core.resources
目录 0 2013-09-15 11:08 FansChineseChess2.0.metadata.pluginsorg.eclipse.core.resources.history
目录 0 2013-09-15 09:27 FansChineseChess2.0.metadata.pluginsorg.eclipse.core.resources.history1
目录 0 2013-09-15 09:53 FansChineseChess2.0.metadata.pluginsorg.eclipse.core.resources.history13
文件 10827 2013-09-15 09:46 FansChineseChess2.0.metadata.pluginsorg.eclipse.core.resources.history1380890d8da91d00131d76c4f57b465bc8
目录 0 2013-09-15 09:27 FansChineseChess2.0.metadata.pluginsorg.eclipse.core.resources.history14
目录 0 2013-09-15 09:26 FansChineseChess2.0.metadata.pluginsorg.eclipse.core.resources.history15
目录 0 2013-09-15 09:26 FansChineseChess2.0.metadata.pluginsorg.eclipse.core.resources.history19
目录 0 2013-09-15 09:53 FansChineseChess2.0.metadata.pluginsorg.eclipse.core.resources.history1b
文件 10847 2013-09-15 09:53 FansChineseChess2.0.metadata.pluginsorg.eclipse.core.resources.history1b80478f8ea91d00131d76c4f57b465bc8
目录 0 2013-09-15 09:54 FansChineseChess2.0.metadata.pluginsorg.eclipse.core.resources.history1e
文件 29721 2013-09-15 09:46 FansChineseChess2.0.metadata.pluginsorg.eclipse.core.resources.history1e30ff38cda91d00131d76c4f57b465bc8
............此处省略2405个文件信息
/**
* 项目名称: FansChineseChess
* 版本号:2.0
* 名字:雷文
* 博客: http://FansUnion.cn
* CSDN:http://blog.csdn.net/FansUnion
* 邮箱: leiwen@FansUnion.cn
* QQ:240-370-818
* 版权所有: 2011-2013leiwen
*/
package cn.fansunion.chinesechess;
import java.awt.Color;
import java.awt.Cursor;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import javax.swing.JButton;
import javax.swing.JFileChooser;
import javax.swing.Jframe;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;
import javax.swing.JTextField;
import javax.swing.UIManager;
import javax.swing.border.titledBorder;
import javax.swing.filechooser.FileNameExtensionFilter;
import cn.fansunion.chinesechess.ai.ManMachineGUI;
import cn.fansunion.chinesechess.config.NAME;
import cn.fansunion.chinesechess.core.ManualUtil;
import cn.fansunion.chinesechess.ext.empress.EmpressGUI;
import cn.fansunion.chinesechess.ext.maze.HorseMazeGUI;
import cn.fansunion.chinesechess.load.ChessDemoGUI;
import cn.fansunion.chinesechess.load.ChessLoadingGUI;
import cn.fansunion.chinesechess.net.client.RoomGUI;
import cn.fansunion.chinesechess.print.all.PrintAllGUI;
import cn.fansunion.chinesechess.print.part.PrintPartGUI;
import cn.fansunion.chinesechess.save.GameRecord;
/**
* 客户端主界面,包含单机游戏和联网对战两个选项卡
*
* 单机游戏选项卡: 全局打谱,残局打谱,装载游戏,高级装载,人机对弈,迷宫求解,八皇后 联网对战选项卡: 输入用户名、密码和服务器地址登录服务器
*
* @author leiwen@fansunion.cnhttp://FansUnion.cn
* http://blog.csdn.net/FansUnion
* @since 2.0
*/
public class ChessGUI extends Jframe implements ActionListener NAME {
private static final long serialVersionUID = -4285888351596327876L;
private JTabbedPane tabbedPane;
private JPanel networkPanel;
private JPanel localPanel;
private JLabel petName = new JLabel(“用户名: “);
private JLabel password = new JLabel(“密 码: “);
private JTextField petNameField = new JTextField(20);
private JTextField passwordField = new JTextField(20);
private JLabel serverIP = new JLabel(“服务器IP:“);
private JTextField serverIPField = new JTextField(20);
private JButton login exit;
private JButton load loadAs partialManual wholeManual manMachine fen
maze eightEmpress;
public ChessGUI() {
initButtons();
initPanels();
serverIPField.setText(“localhost“);
settitle(“楚汉棋兵--雷文-http://FansUnion.cn“);
setIconImage(ChessUtil.getAppIcon());
setSize(370 340);
setLocationRelativeTo(null);
setDefaultCloseOperation(Jframe.DISPOSE_ON_CLOSE);
setResizable(false);
// serverIPField.setText(“localhost“);
}
private void initButtons() {
int w = ChessUtil.getImageIcon(“login.png“).getIconWidth()+10;
int h = ChessUtil.getImageIcon(“login.png“).getIconHeight();
login = new JButton(“登录“);
login.addActionListen
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2013-03-30 00:31 FansChineseChess2.0
目录 0 2013-03-30 00:10 FansChineseChess2.0.me
文件 1026293 2012-08-28 15:15 FansChineseChess2.0.me
文件 1025644 2012-08-28 15:43 FansChineseChess2.0.me
文件 0 2012-04-04 19:43 FansChineseChess2.0.me
文件 399875 2013-09-15 09:36 FansChineseChess2.0.me
目录 0 2013-03-30 00:10 FansChineseChess2.0.me
目录 0 2013-03-30 00:10 FansChineseChess2.0.me
文件 20 2012-11-03 16:51 FansChineseChess2.0.me
文件 32 2012-11-03 16:51 FansChineseChess2.0.me
文件 250 2012-11-03 16:51 FansChineseChess2.0.me
目录 0 2012-04-04 19:43 FansChineseChess2.0.me
文件 438 2012-04-04 19:45 FansChineseChess2.0.me
epositories.xm
文件 250 2012-11-03 17:11 FansChineseChess2.0.me
目录 0 2013-09-15 11:40 FansChineseChess2.0.me
目录 0 2013-03-30 00:10 FansChineseChess2.0.me
目录 0 2012-11-03 16:49 FansChineseChess2.0.me
目录 0 2013-09-15 12:10 FansChineseChess2.0.me
文件 462 2013-09-15 12:10 FansChineseChess2.0.me
目录 0 2013-09-15 12:10 FansChineseChess2.0.me
目录 0 2013-09-15 11:08 FansChineseChess2.0.me
目录 0 2013-09-15 09:27 FansChineseChess2.0.me
目录 0 2013-09-15 09:53 FansChineseChess2.0.me
文件 10827 2013-09-15 09:46 FansChineseChess2.0.me
目录 0 2013-09-15 09:27 FansChineseChess2.0.me
目录 0 2013-09-15 09:26 FansChineseChess2.0.me
目录 0 2013-09-15 09:26 FansChineseChess2.0.me
目录 0 2013-09-15 09:53 FansChineseChess2.0.me
文件 10847 2013-09-15 09:53 FansChineseChess2.0.me
目录 0 2013-09-15 09:54 FansChineseChess2.0.me
文件 29721 2013-09-15 09:46 FansChineseChess2.0.me
............此处省略2405个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)