private void menuItemSaveAsActionPerformed(ActionEvent evt) 
	{
		JFileChooser fc = new JFileChooser();
		fc.setAcceptAllFileFilterUsed(false);
		fc.setFileFilter(new FileFilter()
		{
			public boolean accept( File f ) 
			{
				return f.isDirectory() || f.getName().toLowerCase().endsWith(".ser");
			}
			public String getDescription() 
			{
				return "Datei" + " (*.ser)";
			} 
		});
		int result = fc.showSaveDialog(drawComponent1);
		if(result == JFileChooser.APPROVE_OPTION)
		{
			File file = fc.getSelectedFile();
			path = file.getPath();
			if(file.exists())
			{
				result = JOptionPane.showOptionDialog(drawComponent1, "Datei ueberschreiben?", null,
						JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.WARNING_MESSAGE,
						null, null, null);
				switch(result)
				{
				case 0: saveAs((path));
				break;
				case 1: menuItemSaveAsActionPerformed(evt);
				break;
				case 2: break;
				}
			}
			else
			{
				saveAs((path + ".ser"));
				path = path + ".ser";
			}
		}
	}