equal
deleted
inserted
replaced
3 * $URL: http://localhost/svn/eclipse/Schachspiel/trunk/org/homelinux/largo/games/board/Board.java $ |
3 * $URL: http://localhost/svn/eclipse/Schachspiel/trunk/org/homelinux/largo/games/board/Board.java $ |
4 */ |
4 */ |
5 |
5 |
6 package org.homelinux.largo.games.board; |
6 package org.homelinux.largo.games.board; |
7 |
7 |
8 import java.awt.Canvas; |
|
9 import java.awt.Color; |
8 import java.awt.Color; |
10 import java.awt.Dimension; |
9 import java.awt.Dimension; |
11 import java.awt.Graphics; |
10 import java.awt.Graphics; |
12 import java.awt.Image; |
11 import java.awt.Image; |
13 import java.util.Vector; |
12 import java.util.Vector; |
14 |
13 |
15 public class Board extends Canvas { |
14 import javax.swing.JPanel; |
|
15 |
|
16 public class Board extends JPanel { |
16 static final long serialVersionUID = 140208; |
17 static final long serialVersionUID = 140208; |
17 |
18 |
18 protected boolean UNDO_DEBUG = false; |
19 protected boolean UNDO_DEBUG = false; |
19 |
20 |
20 protected Piece board_pieces[]; |
21 protected Piece board_pieces[]; |