- 博客(0)
- 资源 (4)
- 收藏
- 关注
loadrunner 压力测试报告模板
第1章 系统概述 3
第2章 方案设计 3
第3章 方案一测试结果 6
3.1 方案摘要 6
3.2 运行结果 6
第4章 方案二测试结果 10
4.1 方案摘要 10
4.2 运行结果 11
第5章 结论 16
第6章 附录 17
2011-07-12
Java版的中国象棋,含源码
用Java实现的中国象棋,包括源码和可执行文件(chess.jar 直接运行)。
package chess;
import java.awt.Color;
import java.awt.Font;
import javax.swing.JLabel;
/**
* 位置类,表示棋盘上的一个位置,能包含一个棋子
*
* @author 徐磊
*/
public class ChessPoint extends JLabel {
private Chessman chessman;
public final int x; // X轴坐标
public final int y; // y轴坐标
public final int width;//在棋盘上的真实位置横坐标
public final int heiget;//在棋盘上的真实位置纵坐标
private ChessBoard board;
public ChessPoint(ChessBoard board, int pointX, int pointY) {
board.add(this);
super.setSize(40, 40);
super.setLocation(pointX, pointY);
super.setBounds(pointX - 20, pointY - 20, 40, 40);
super.setText(" ");
super.setForeground(Color.white);
super.setFont(new Font("隶书", Font.BOLD, 35));
this.x = -1;
this.y = -1;
this.width = pointX;
this.heiget = pointY;
this.board = board;
}
2011-03-04
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人