import java.net.URISyntaxException;
import java.security.CodeSource;
import java.util.ArrayList;
import static Grepolis.util.MyLogger.log;
import static Grepolis.util.MyLogger.logError;
<BUG>import Grepolis.*;
public class QueuePanel extends JPanel {</BUG>
private ArrayList<Town> towns;
<BUG>private static int currentTownIndex = -1; //Used only for updating the buildings/troops when the tab is clicked

public QueuePanel(ArrayList<Town> townList) {</BUG>
this.towns = townList;

import java.net.URISyntaxException;
import java.security.CodeSource;
import java.util.ArrayList;
import static Grepolis.util.MyLogger.log;
import static Grepolis.util.MyLogger.logError;
import Grepolis.*;
import Grepolis.IO.Saver;
public class QueuePanel extends JPanel {
private ArrayList<Town> towns;
private static int currentTownIndex = 0; //Used only for updating the buildings/troops when the tab is clicked
private static int currentTemplateIndex = 0;
private static ArrayList<Town> templateTowns;
public QueuePanel(ArrayList<Town> townList) {
this.towns = townList;
