public void comboBoxCreator(String trainLine){

        stations = new DefaultComboBoxModel<String>();
        if(trainLine.equals("Blue Line")){
            trainFlag = "Blue";
            stationData = new StationHashMap(trainFlag);
            stationBox.removeAllItems();
            stations.addElement(" ");
            stations.addElement("Austin");
            stations.addElement("Belmont");
            stations.addElement("California");
            stations.addElement("Chicago");
            stations.addElement("Cicero");
            stations.addElement("Clark/Lake");
            stations.addElement("Clinton");
            stations.addElement("Cumberland");
            stations.addElement("Damen");
            stations.addElement("Division");
            stations.addElement("Forest Park");
            stations.addElement("Grand");
            stations.addElement("Harlem(Forest Park Branch)");
            stations.addElement("Harlem(O'Hare Branch)");
            stations.addElement("Illinois Medical District");
            stations.addElement("Irving Park");
            stations.addElement("Jackson");
            stations.addElement("Jefferson Park");
            stations.addElement("Kedzie-Homan");
            stations.addElement("LaSalle");
            stations.addElement("Logan Square");
            stations.addElement("Monroe");
            stations.addElement("Montrose");
            stations.addElement("O'Hare");
            stations.addElement("Oak Park");
            stations.addElement("Pulaski");
            stations.addElement("Racine");
            stations.addElement("Rosemont");
            stations.addElement("UIC-Halsted");
            stations.addElement("Washington");
            stations.addElement("Western (Forest Park Branch)");
            stations.addElement("Western (O'Hare Branch)");
            stationBox.setModel(stations);
        }else if(trainLine.equals("Red Line")){
            trainFlag = "Red";
            stationData = new StationHashMap(trainFlag);
            stationBox.removeAllItems();
            stations.addElement(" ");
            stations.addElement("47th");
            stations.addElement("63rd");
            stations.addElement("69th");
            stations.addElement("79th");
            stations.addElement("87th");
            stations.addElement("95th");
            stations.addElement("Addison");
            stations.addElement("Argyle");
            stations.addElement("Belmont");
            stations.addElement("Berwyn");
            stations.addElement("Bryn Mawr");
            stations.addElement("Cermak-Chinatown");
            stations.addElement("Chicago");
            stations.addElement("Clark/Division");
            stations.addElement("Fullerton");
            stations.addElement("Garfield");
            stations.addElement("Grand");
            stations.addElement("Granville");
            stations.addElement("Harrison");
            stations.addElement("Howard");
            stations.addElement("Jackson");
            stations.addElement("Jarvis");
            stations.addElement("Lake");
            stations.addElement("Lawrence");
            stations.addElement("Loyola");
            stations.addElement("Monroe");
            stations.addElement("Morse");
            stations.addElement("North/Clybourn");
            stations.addElement("Roosevelt");
            stations.addElement("Sheridan");
            stations.addElement("Sox-35th");
            stations.addElement("Thorndale");
            stations.addElement("Wilson");
            stationBox.setModel(stations);
        }else if(trainLine.equals("Pink Line")){
            trainFlag = "Pink";
            stationData = new StationHashMap(trainFlag);
            stationBox.removeAllItems();
            stations.addElement(" ");
            stations.addElement("18th");
            stations.addElement("54th/Cermak");
            stations.addElement("Adams/Wabash");
            stations.addElement("Ashland");
            stations.addElement("California");
            stations.addElement("Central Park");
            stations.addElement("Cicero");
            stations.addElement("Clark/Lake");
            stations.addElement("Clinton");
            stations.addElement("Damen");
            stations.addElement("Harold Washington Library-State/Van Buren");
            stations.addElement("Kedzie");
            stations.addElement("Kostner");
            stations.addElement("LaSalle/Van Buren");
            stations.addElement("Madison/Wabash");
            stations.addElement("Morgan");
            stations.addElement("Polk");
            stations.addElement("Pulaski");
            stations.addElement("Quincy");
            stations.addElement("Randolph/Wabash");
            stations.addElement("State/Lake");
            stations.addElement("Washington/Wells");
            stations.addElement("Western");
            stationBox.setModel(stations);
        }else if(trainLine.equals("Orange Line")){
            trainFlag = "Org";
            stationData = new StationHashMap(trainFlag);
            stationBox.removeAllItems();
            stations.addElement(" ");
            stations.addElement("35th/Archer");
            stations.addElement("Adams/Wabash");
            stations.addElement("Ashland");
            stations.addElement("Clark/Lake");
            stations.addElement("Halsted");
            stations.addElement("Harold Washington Library-State/Van Buren");
            stations.addElement("Kedzie");
            stations.addElement("LaSalle/Van Buren");
            stations.addElement("Madison/Wabash");
            stations.addElement("Midway");
            stations.addElement("Pulaski");
            stations.addElement("Quincy");
            stations.addElement("Randolph/Wabash");
            stations.addElement("Roosevelt");
            stations.addElement("State/Lake");
            stations.addElement("Washington/Wells");
            stations.addElement("Western");
            stationBox.setModel(stations);
        }else if(trainLine.equals("Purple Line")){
            trainFlag = "P";
            stationData = new StationHashMap(trainFlag);
            stationBox.removeAllItems();
            stations.addElement(" ");
            stations.addElement("");
            stations.addElement("Adams/Wabash");
            stations.addElement("Armitage");
            stations.addElement("Central");
            stations.addElement("Chicago");
            stations.addElement("Clark/Lake");
            stations.addElement("Davis");
            stations.addElement("Dempster");
            stations.addElement("Diversey");
            stations.addElement("Foster");
            stations.addElement("Fullerton");
            stations.addElement("Harold Washington Library-State/Van Buren");
            stations.addElement("Howard");
            stations.addElement("LaSalle/Van Buren");
            stations.addElement("Linden");
            stations.addElement("Madison/Wabash");
            stations.addElement("Main");
            stations.addElement("Merchandise Mart");
            stations.addElement("Noyes");
            stations.addElement("Quincy");
            stations.addElement("Randolph/Wabash");
            stations.addElement("Sedgwick");
            stations.addElement("South Boulevard");
            stations.addElement("State/Lake");
            stations.addElement("Washington/Wells");
            stations.addElement("Wellington");
            stationBox.setModel(stations);
        }else if(trainLine.equals("Green Line")){
            trainFlag = "G";
            stationData = new StationHashMap(trainFlag);
            stationBox.removeAllItems();
            stations.addElement(" ");
            stations.addElement("35th-Bronzeville-IIT");
            stations.addElement("43rd");
            stations.addElement("47th");
            stations.addElement("51st");
            stations.addElement("Adams/Wabash");
            stations.addElement("Ashland");
            stations.addElement("Ashland/63rd");
            stations.addElement("Austin");
            stations.addElement("California");
            stations.addElement("Central");
            stations.addElement("Cicero");
            stations.addElement("Clark/Lake");
            stations.addElement("Clinton");
            stations.addElement("Conservatory-Central Park Drive");
            stations.addElement("Cottage Grove");
            stations.addElement("Garfield");
            stations.addElement("Halsted");
            stations.addElement("Harlem/Lake");
            stations.addElement("Indiana");
            stations.addElement("Kedzie");
            stations.addElement("King Drive");
            stations.addElement("Laramie");
            stations.addElement("Madison/Wabash");
            stations.addElement("Morgan");
            stations.addElement("Oak Park");
            stations.addElement("Pulaski");
            stations.addElement("Randolph/Wabash");
            stations.addElement("Ridgeland");
            stations.addElement("Roosevelt");
            stations.addElement("State/Lake");
            stationBox.setModel(stations);
        }else if(trainLine.equals("Brown Line")){
            trainFlag = "Brn";
            stationData = new StationHashMap(trainFlag);
            stationBox.removeAllItems();
            stations.addElement(" ");
            stations.addElement("Adams/Wabash");
            stations.addElement("Addison");
            stations.addElement("Armitage");
            stations.addElement("Belmont");
            stations.addElement("Chicago");
            stations.addElement("Clark/Lake");
            stations.addElement("Damen");
            stations.addElement("Diversey");
            stations.addElement("Francisco");
            stations.addElement("Fullerton");
            stations.addElement("Harold Washington Library-State/Van Buren");
            stations.addElement("Irving Park");
            stations.addElement("Kedzie");
            stations.addElement("Kimball");
            stations.addElement("LaSalle/Van Buren");
            stations.addElement("Madison/Wabash");
            stations.addElement("Merchandise Mart");
            stations.addElement("Montrose");
            stations.addElement("Paulina");
            stations.addElement("Quincy");
            stations.addElement("Randolph/Wabash");
            stations.addElement("Rockwell");
            stations.addElement("Sedgwick");
            stations.addElement("Southport");
            stations.addElement("State/Lake");
            stations.addElement("Washington/Wells");
            stations.addElement("Wellington");
            stations.addElement("Western");
            stationBox.setModel(stations);
        }else if(trainLine.equals("Yellow Line")){
            trainFlag = "Y";
            stationData = new StationHashMap(trainFlag);
            stationBox.removeAllItems();
            stations.addElement(" ");
            stations.addElement("Dempster-Skokie");
            stations.addElement("Howard");
            stations.addElement("Oakton-Skokie");
            stationBox.setModel(stations);
        }
    }