Index: /trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/exercisesheet/ExerciseSheetAddDialog.java
===================================================================
--- /trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/exercisesheet/ExerciseSheetAddDialog.java	(revision 18)
+++ /trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/exercisesheet/ExerciseSheetAddDialog.java	(revision 19)
@@ -52,9 +52,4 @@
 	@Override
 	protected Control createContents(Composite parent) {
-		parent.getShell().setSize(650, 350);
-		int x = shell.getLocation().x + (shell.getSize().x - parent.getShell().getSize().x)/2;
-		int y = shell.getLocation().y + (shell.getSize().y - parent.getShell().getSize().y)/2;
-		parent.getShell().setLocation(x, y);
-		
 		Control contents = super.createContents(parent);
 		setTitle("Add a new exercise sheet");
Index: /trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/exercisesheet/ExerciseSheetErrorDialog.java
===================================================================
--- /trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/exercisesheet/ExerciseSheetErrorDialog.java	(revision 18)
+++ /trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/exercisesheet/ExerciseSheetErrorDialog.java	(revision 19)
@@ -36,11 +36,4 @@
 	@Override
 	protected Control createDialogArea(Composite parent) {
-		parent.getShell().setSize(270, 180);
-		int x = shell.getLocation().x
-				+ (shell.getSize().x - parent.getShell().getSize().x) / 2;
-		int y = shell.getLocation().y
-				+ (shell.getSize().y - parent.getShell().getSize().y) / 2;
-		parent.getShell().setLocation(x, y);
-
 		GridLayout layout = new GridLayout(SWT.CENTER, false);
 		layout.numColumns = 1;
Index: /trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/exercisesheet/ExerciseSheetPDFDeleteDialog.java
===================================================================
--- /trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/exercisesheet/ExerciseSheetPDFDeleteDialog.java	(revision 18)
+++ /trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/exercisesheet/ExerciseSheetPDFDeleteDialog.java	(revision 19)
@@ -51,11 +51,4 @@
 	@Override
 	protected Control createDialogArea(Composite parent) {
-		parent.getShell().setSize(500, 170);
-		int x = shell.getLocation().x
-				+ (shell.getSize().x - parent.getShell().getSize().x) / 2;
-		int y = shell.getLocation().y
-				+ (shell.getSize().y - parent.getShell().getSize().y) / 2;
-		parent.getShell().setLocation(x, y);
-
 		GridLayout layout = new GridLayout();
 		layout.numColumns = 2;
Index: /trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/exercisesheet/LecturerAddDialog.java
===================================================================
--- /trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/exercisesheet/LecturerAddDialog.java	(revision 18)
+++ /trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/exercisesheet/LecturerAddDialog.java	(revision 19)
@@ -46,9 +46,4 @@
 	@Override
 	protected Control createDialogArea(Composite parent) {
-		parent.getShell().setSize(500, 240);
-		int x = shell.getLocation().x + (shell.getSize().x - parent.getShell().getSize().x)/2;
-		int y = shell.getLocation().y + (shell.getSize().y - parent.getShell().getSize().y)/2;
-		parent.getShell().setLocation(x, y);
-		
 		GridLayout layout = new GridLayout();
 		layout.numColumns = 2;
Index: /trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/lecture/LectureAddDialog.java
===================================================================
--- /trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/lecture/LectureAddDialog.java	(revision 18)
+++ /trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/lecture/LectureAddDialog.java	(revision 19)
@@ -44,9 +44,4 @@
 	@Override
 	protected Control createDialogArea(Composite parent) {
-		parent.getShell().setSize(500, 170);
-		int x = shell.getLocation().x + (shell.getSize().x - parent.getShell().getSize().x)/2;
-		int y = shell.getLocation().y + (shell.getSize().y - parent.getShell().getSize().y)/2;
-		parent.getShell().setLocation(x, y);
-		
 		GridLayout layout = new GridLayout();
 		layout.numColumns = 2;
Index: /trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/lectureevent/LectureEventAddDialog.java
===================================================================
--- /trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/lectureevent/LectureEventAddDialog.java	(revision 18)
+++ /trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/lectureevent/LectureEventAddDialog.java	(revision 19)
@@ -63,9 +63,4 @@
 	@Override
 	protected Control createContents(Composite parent) {
-		parent.getShell().setSize(650, 500);
-		int x = shell.getLocation().x + (shell.getSize().x - parent.getShell().getSize().x)/2;
-		int y = shell.getLocation().y + (shell.getSize().y - parent.getShell().getSize().y)/2;
-		parent.getShell().setLocation(x, y);
-		
 		Control contents = super.createContents(parent);
 		setTitle("Add a new lecture Event");
Index: /trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/lectureevent/LectureEventEditDialog.java
===================================================================
--- /trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/lectureevent/LectureEventEditDialog.java	(revision 18)
+++ /trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/lectureevent/LectureEventEditDialog.java	(revision 19)
@@ -78,9 +78,4 @@
 	@Override
 	protected Control createContents(Composite parent) {
-		parent.getShell().setSize(650, 500);
-		int x = shell.getLocation().x + (shell.getSize().x - parent.getShell().getSize().x)/2;
-		int y = shell.getLocation().y + (shell.getSize().y - parent.getShell().getSize().y)/2;
-		parent.getShell().setLocation(x, y);
-		
 		Control contents = super.createContents(parent);
 		setTitle("Add a new lecture event");
Index: /trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/lecturer/LecturerAddDialog.java
===================================================================
--- /trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/lecturer/LecturerAddDialog.java	(revision 18)
+++ /trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/lecturer/LecturerAddDialog.java	(revision 19)
@@ -46,9 +46,4 @@
 	@Override
 	protected Control createDialogArea(Composite parent) {
-		parent.getShell().setSize(500, 240);
-		int x = shell.getLocation().x + (shell.getSize().x - parent.getShell().getSize().x)/2;
-		int y = shell.getLocation().y + (shell.getSize().y - parent.getShell().getSize().y)/2;
-		parent.getShell().setLocation(x, y);
-		
 		GridLayout layout = new GridLayout();
 		layout.numColumns = 2;
Index: /trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/lecturer/LecturerEditDialog.java
===================================================================
--- /trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/lecturer/LecturerEditDialog.java	(revision 18)
+++ /trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/lecturer/LecturerEditDialog.java	(revision 19)
@@ -37,9 +37,4 @@
 	@Override
 	protected Control createContents(Composite parent) {
-		parent.getShell().setSize(500, 240);
-		int x = shell.getLocation().x + (shell.getSize().x - parent.getShell().getSize().x)/2;
-		int y = shell.getLocation().y + (shell.getSize().y - parent.getShell().getSize().y)/2;
-		parent.getShell().setLocation(x, y);
-		
 		Control contents = super.createContents(parent);
 		setTitle("Edit a lecturer");
