Merge pull request #3266 from spjspj/master

spjspj - Add in Tokens to the Card Viewer (fix)
This commit is contained in:
spjspj 2017-04-29 17:42:44 +10:00 committed by GitHub
commit 1d3d60370f
2 changed files with 2 additions and 1 deletions

View file

@ -34,6 +34,7 @@ import java.awt.GridBagLayout;
import javax.swing.Box; import javax.swing.Box;
import javax.swing.BoxLayout; import javax.swing.BoxLayout;
import javax.swing.JButton; import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JComboBox; import javax.swing.JComboBox;
import javax.swing.JLabel; import javax.swing.JLabel;
import javax.swing.JPanel; import javax.swing.JPanel;

View file

@ -336,7 +336,7 @@ public class DownloadPictures extends DefaultBoundedRangeModel implements Runnab
return new ArrayList<>(cardsToDownload); return new ArrayList<>(cardsToDownload);
} }
private static ArrayList<CardDownloadData> getTokenCardUrls() throws RuntimeException { public static ArrayList<CardDownloadData> getTokenCardUrls() throws RuntimeException {
ArrayList<CardDownloadData> list = new ArrayList<>(); ArrayList<CardDownloadData> list = new ArrayList<>();
InputStream in = DownloadPictures.class.getClassLoader().getResourceAsStream("card-pictures-tok.txt"); InputStream in = DownloadPictures.class.getClassLoader().getResourceAsStream("card-pictures-tok.txt");