table row/column insert
[fanfix.git] / src / jexer / demos / DemoMainWindow.java
index c5e599c53bcebade57dbe95ff13e1786d256d4b9..54234ba32a3a9ab56cea51e81171a6c3943c53df 100644 (file)
@@ -182,7 +182,8 @@ public class DemoMainWindow extends TWindow {
         addButton(i18n.getString("ttableButton1"), 35, row,
             new TAction() {
                 public void DO() {
-                    // TODO
+                    new DemoTableWindow(getApplication(),
+                        i18n.getString("tableWidgetDemo"));
                 }
             }
         );
@@ -250,6 +251,20 @@ public class DemoMainWindow extends TWindow {
             }
         );
 
+        /*
+        addButton("Exception", 35, row + 3,
+            new TAction() {
+                public void DO() {
+                    try {
+                        throw new RuntimeException("FUBAR'd!");
+                    } catch (Exception e) {
+                        new jexer.TExceptionDialog(getApplication(), e);
+                    }
+                }
+            }
+        );
+         */
+
         activate(first);
 
         statusBar = newStatusBar(i18n.getString("statusBar"));