- if (false) {
- addLabel("Label (1,1)", 1, 1);
- addButton("&Button (35,1)", 35, 1, new TAction() {
- public void DO() {
- }
- });
- addCheckbox(1, 2, "Checky (1,2)", false);
- addProgressBar(1, 3, 30, 42);
- TRadioGroup groupy = addRadioGroup(1, 4, "Radio groupy");
- groupy.addRadioButton("Fanfan");
- groupy.addRadioButton("Tulipe");
- addField(1, 10, 20, false, "text not fixed.");
- addField(1, 11, 20, true, "text fixed.");
- addText("20x4 Text in (12,20)", 1, 12, 20, 4);
-
- TTreeView tree = addTreeView(30, 5, 20, 5);
- TTreeItem root = new TTreeItem(tree, "expended root", true);
- tree.setSelected(root); // needed to allow arrow navigation without
- // mouse-clicking before
-
- root.addChild("child");
- root.addChild("child 2").addChild("sub child");
+ // TODO: add the current "source/type" or filter
+ statusBar = newStatusBar("Library");
+ statusBar.addShortcutKeypress(TKeypress.kbF10, TCommand.cmExit, "Exit");
+
+ // TODO: remove when not used anymore
+
+ // addLabel("Label (1,1)", 1, 1);
+ // addButton("&Button (35,1)", 35, 1, new TAction() {
+ // public void DO() {
+ // }
+ // });
+ // addCheckbox(1, 2, "Checky (1,2)", false);
+ // addProgressBar(1, 3, 30, 42);
+ // TRadioGroup groupy = addRadioGroup(1, 4, "Radio groupy");
+ // groupy.addRadioButton("Fanfan");
+ // groupy.addRadioButton("Tulipe");
+ // addField(1, 10, 20, false, "text not fixed.");
+ // addField(1, 11, 20, true, "text fixed.");
+ // addText("20x4 Text in (12,20)", 1, 12, 20, 4);
+ //
+ // TTreeView tree = addTreeView(30, 5, 20, 5);
+ // TTreeItem root = new TTreeItem(tree, "expended root", true);
+ // tree.setSelected(root); // needed to allow arrow navigation without
+ // // mouse-clicking before
+ //
+ // root.addChild("child");
+ // root.addChild("child 2").addChild("sub child");
+ }