public void listMouseClicked(MouseEvent e) 
	{
		if(e.getClickCount() == 2)
		{
			ArrayList<GeometricObject> temp;
			
			if(mytabbedpane.getSelectedIndex()==0)
			{
				temp=geomListleft;
			}
			else
			{
				temp=geomListright;
			}
			switch (list.getSelectedValue())
			{
				case "Kreis" : temp.add(new Kreis(1, 1, 51, 51));
					break;
				case "Rechteck" : temp.add(new Rechteck(1, 1, 51, 51));
					break;
				case "Linie" : temp.add(new Linie(1, 1, 51, 51));
					break;
				case "Connector" : temp.add(new Connector(0,0));
					break;
			}
 			
			wasSaved = false;
			repaint();		
		}
	}