Version changed to 1.3.

Added Magarena icon to application frame.
master
ubeefx 2010-12-20 10:49:01 +00:00
parent 0957bc8c6e
commit 1dd52f048d
4 changed files with 4 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@ -25,6 +25,7 @@ public class IconImages {
public static final BufferedImage USER1=loadUserImage("textures/texture1.jpg");
public static final BufferedImage USER2=loadUserImage("textures/texture2.jpg");
public static final ImageIcon ARENA=loadIcon("arena.png");
public static final ImageIcon CUBE=loadIcon("cube.png");
public static final ImageIcon ANY=loadIcon("any.png");
public static final ImageIcon NEW=loadIcon("new.png");

View File

@ -19,6 +19,7 @@ import javax.swing.JPanel;
import magic.data.DeckUtils;
import magic.data.GeneralConfig;
import magic.data.IconImages;
import magic.data.TournamentConfig;
import magic.model.MagicDeckCard;
import magic.model.MagicGame;
@ -73,6 +74,7 @@ public class MagicFrame extends JFrame implements ActionListener {
this.setTitle(NAME);
this.setSize(config.getWidth(),config.getHeight());
this.setIconImage(IconImages.ARENA.getImage());
if (config.getLeft()!=-1) {
this.setLocation(config.getLeft(),config.getTop());
} else {

View File

@ -13,7 +13,7 @@ public class VersionPanel extends TexturedPanel {
private static final long serialVersionUID = 1L;
private static final String VERSION = "Magarena 1.2";
private static final String VERSION = "Magarena 1.3";
private static final String AUTHOR = "by ubeefx";
private static final String WEB = "http://magarena.dyndns.org";
private static final String SPACING = " ";