private static void updatePacks() {
		for(int i = 0; i < packPanels.size(); i++) {
			if(selectedPack == i) {
				ModPack pack = ModPack.getPack(getIndex());
				if(pack != null) {
					String mods = "";
					if(pack.getMods() != null) {
						mods += "<p>This pack contains the following mods by default:</p><ul>";
						for (String name : ModPack.getPack(getIndex()).getMods()) {
							mods += "<li>" + name + "</li>";
						}
						mods += "</ul>";
					}
					packPanels.get(i).setBackground(UIManager.getColor("control").darker().darker());
					packPanels.get(i).setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
					File tempDir = new File(OSUtils.getDynamicStorageLocation(), "ModPacks" + File.separator + ModPack.getPack(getIndex()).getDir());
					packInfo.setText("<html><img src='file:///" + tempDir.getPath() + File.separator + ModPack.getPack(getIndex()).getImageName() +"' width=400 height=200></img> <br>" + ModPack.getPack(getIndex()).getInfo() + mods);
					packInfo.setCaretPosition(0);

					if(ModPack.getSelectedPack().getServerUrl().equals("") || ModPack.getSelectedPack().getServerUrl() == null) {
						server.setEnabled(false);
					} else {
						server.setEnabled(true);
					}
					String tempVer = Settings.getSettings().getPackVer();
					version.removeAllItems();
					version.addItem("Recommended");
					if(pack.getOldVersions() != null) {
						for(String s : pack.getOldVersions()) {
							version.addItem(s);
						}
						version.setSelectedItem(tempVer);
					}
				}
			} else {
				packPanels.get(i).setBackground(UIManager.getColor("control"));
				packPanels.get(i).setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
			}
		}
	}