From 04f298923cdcbe0f9a7500533d6f086223e8d871 Mon Sep 17 00:00:00 2001 From: spjspj Date: Sat, 29 Apr 2017 17:42:08 +1000 Subject: [PATCH] spjspj - Add in Tokens to the Card Viewer (fix) --- .../deckeditor/collection/viewer/CollectionViewerPanel.java | 1 + .../java/org/mage/plugins/card/images/DownloadPictures.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Mage.Client/src/main/java/mage/client/deckeditor/collection/viewer/CollectionViewerPanel.java b/Mage.Client/src/main/java/mage/client/deckeditor/collection/viewer/CollectionViewerPanel.java index 518de4d4e8..b90b11026e 100644 --- a/Mage.Client/src/main/java/mage/client/deckeditor/collection/viewer/CollectionViewerPanel.java +++ b/Mage.Client/src/main/java/mage/client/deckeditor/collection/viewer/CollectionViewerPanel.java @@ -34,6 +34,7 @@ import java.awt.GridBagLayout; import javax.swing.Box; import javax.swing.BoxLayout; import javax.swing.JButton; +import javax.swing.JCheckBox; import javax.swing.JComboBox; import javax.swing.JLabel; import javax.swing.JPanel; diff --git a/Mage.Client/src/main/java/org/mage/plugins/card/images/DownloadPictures.java b/Mage.Client/src/main/java/org/mage/plugins/card/images/DownloadPictures.java index b99308f3d0..c62bb18a64 100644 --- a/Mage.Client/src/main/java/org/mage/plugins/card/images/DownloadPictures.java +++ b/Mage.Client/src/main/java/org/mage/plugins/card/images/DownloadPictures.java @@ -336,7 +336,7 @@ public class DownloadPictures extends DefaultBoundedRangeModel implements Runnab return new ArrayList<>(cardsToDownload); } - private static ArrayList getTokenCardUrls() throws RuntimeException { + public static ArrayList getTokenCardUrls() throws RuntimeException { ArrayList list = new ArrayList<>(); InputStream in = DownloadPictures.class.getClassLoader().getResourceAsStream("card-pictures-tok.txt");