View | Details | Raw Unified
Collapse All | Expand All

(-) triplea_0_3_3.orig/src/games/strategy/engine/framework/ui/SaveGameFileChooser.java (-2 / +2 lines)
 Lines 33-39    Link Here 
public class SaveGameFileChooser extends JFileChooser
public class SaveGameFileChooser extends JFileChooser
{
{
	public static final File DEFAULT_DIRECTORY = new File(GameRunner.getRootFolder(), "/savedGames/");
	public static final File DEFAULT_DIRECTORY = new File(System.getProperties().get("user.home") + "/.triplea/", "/savedGames/");
	public static final String AUTOSAVE_FILE_NAME = "autosave.svg";
	public static final String AUTOSAVE_FILE_NAME = "autosave.svg";
	private static SaveGameFileChooser s_instance;
	private static SaveGameFileChooser s_instance;
 Lines 59-65    Link Here 
		{
		{
			try
			try
			{
			{
				DEFAULT_DIRECTORY.mkdir();
				DEFAULT_DIRECTORY.mkdirs();
			} catch(Exception e){e.printStackTrace();}
			} catch(Exception e){e.printStackTrace();}
		}
		}
	}
	}