Set Version 1.3.0.

This commit is contained in:
LevelX2 2014-01-25 15:55:58 +01:00
parent ad71ec6aad
commit 89fa841d52
2 changed files with 12 additions and 4 deletions

View file

@ -152,7 +152,7 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
private static Preferences prefs = Preferences.userNodeForPackage(MageFrame.class);
private JLabel title;
private Rectangle titleRectangle;
private static final MageVersion version = new MageVersion(1, 2, 0, "");
private static final MageVersion version = new MageVersion(1, 3, 0, "");
private UUID clientId;
private static MagePane activeFrame;
private static boolean liteMode = false;
@ -617,8 +617,16 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
public void showDraft(UUID draftId) {
try {
DraftPane draftPane = new DraftPane();
desktopPane.add(draftPane, JLayeredPane.DEFAULT_LAYER);
DraftPane draftPane = null;
for(Component component :desktopPane.getComponents()) {
if (component instanceof DraftPane) {
draftPane = (DraftPane) component;
}
}
if (draftPane == null) {
draftPane = new DraftPane();
desktopPane.add(draftPane, JLayeredPane.DEFAULT_LAYER);
}
draftPane.setMaximum(true);
draftPane.setVisible(true);
draftPane.showDraft(draftId);

View file

@ -30,7 +30,7 @@ public class MultiConnectTest {
private static final CountDownLatch latch = new CountDownLatch(USER_CONNECT_COUNT);
private static final MageVersion version = new MageVersion(1, 2, 0, "");
private static final MageVersion version = new MageVersion(1, 3, 0, "");
private static volatile int connected;