@@ -0,0 +1,869 @@
+import javax.swing.JFrame;%0Aimport java.io.*;%0A%0Aclass BuildDomino %7B%0A    public static void main(String%5B%5D args) %7B%0A%09System.out.print(%22Enter an element of a Coxeter group: %22);%0A%09BufferedReader br = new BufferedReader(new InputStreamReader(System.in));%0A%09String userInput = null;%0A%09try %7B%0A%09    userInput = br.readLine();%0A%09%7D catch (IOException e) %7B%0A%09    System.out.println(%22Error!%22);%0A%09    System.exit(1);%0A%09%7D%0A%0A%09String%5B%5D items = userInput.replaceAll(%22%5C%5C%5B%22, %22%22).replaceAll(%22%5C%5C%5D%22, %22%22).split(%22,%22);%0A%09%0A%09int%5B%5D results = new int%5Bitems.length%5D;%0A%09%0A%09for (int i = 0; i %3C items.length; i++) %7B%0A%09    try %7B%0A%09%09results%5Bi%5D = Integer.parseInt(items%5Bi%5D);%0A%09    %7D catch (NumberFormatException nfe) %7B%0A%09%09System.out.println(%22Error.  Please input a list of integers separated by commas%22);%0A%09%09System.exit(1);%0A%09    %7D;%0A%09%7D%0A%09%0A%09Element w = new Element(results);%0A%09Tableau t = new Tableau(w);%0A%0A%09t.tikzDraw();%0A%0A    %7D%0A%7D

Add simple user interface