Index: trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/commands/CMDshowSequences.java
===================================================================
--- trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/commands/CMDshowSequences.java	(revision 238)
+++ trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/commands/CMDshowSequences.java	(revision 239)
@@ -1,4 +1,5 @@
 package de.ugoe.cs.eventbench.commands;
 
+import java.security.InvalidParameterException;
 import java.util.List;
 
@@ -38,7 +39,9 @@
 	@Override
 	public void run(List<Object> parameters) {
-		String sequencesName = "sequences";
-		if (parameters.size() == 1) {
+		String sequencesName;
+		try {
 			sequencesName = (String) parameters.get(0);
+		} catch (Exception e) {
+			throw new InvalidParameterException();
 		}
 
@@ -56,15 +59,11 @@
 		}
 
-		// TODO use SWT-GUI instead
-		SequencesDialog sequencesDialog = new SequencesDialog(new Shell(), SWT.NONE);
+		Shell shell = new Shell(SWT.NONE);
+		shell.open();
+		shell.layout();
+		shell.setSize(0, 0);
+		SequencesDialog sequencesDialog = new SequencesDialog(shell, SWT.NONE);
 		sequencesDialog.open(sequencesName);
-			/*
-			synchronized (Console.getInstance()) {
-				try {
-					Console.getInstance().wait();
-				} catch (InterruptedException e) {
-					e.printStackTrace();
-				}
-			}*/
+		shell.dispose();
 	}
 }
