Some changes to reduce memory leaks.

This commit is contained in:
LevelX2 2014-01-31 15:08:40 +01:00
parent e2c0e211ef
commit 30ddcaf99b
12 changed files with 139 additions and 83 deletions

View file

@ -64,7 +64,7 @@ public class DraftPanel extends javax.swing.JPanel {
private int timeout;
private boolean picked;
private static CardsView emptyView = new CardsView();
private static final CardsView emptyView = new CardsView();
/** Creates new form DraftPanel */
public DraftPanel() {
@ -162,7 +162,7 @@ public class DraftPanel extends javax.swing.JPanel {
c = c.getParent();
}
if (c != null) {
((DraftPane)c).hideFrame();
((DraftPane)c).hideDraft();
}
}