@Override
	public void windowClosing(WindowEvent e)
	{
		if(Util.confirm(this, "Are you sure you want to abort the download?", JOptionPane.WARNING_MESSAGE))
		{
			if(Launcher.project.getFile().exists() && Network.getCurrentFile() != null && Network.cancelDownload())
				Network.getCurrentFile().delete();
			System.exit(0);
		}
	}