public void update(Observable obs, Object obj) {
		
		// System.out.println("Refreshing...");
		
		display = (String)obj;
		
		if (type == "cards" && type == display) {
		
			// System.out.println("Notified cards list.");
			
			removeAllElements();
			
			for (i = 0; i < model.getCardsList().size(); i++) {
			
				addElement(model.getCardsList().get(i));
			}
			
		} else if (type == "countryA" && type == display) {
		
			// System.out.println("Notified country A list.");
			
			removeAllElements();
			
			for (i = 0; i < model.getCountryAList().size(); i++) {
			
				addElement(model.getCountryAList().get(i));
			}
			
		} else if (type == "countryB" && type == display) {
		
			// System.out.println("Notified country B list.");
			
			removeAllElements();
			
			for (i = 0; i < model.getCountryBList().size(); i++) {
			
				addElement(model.getCountryBList().get(i));
			}
		} else {
		
		}
	}