+ // TODO: traces/errors?
+ Instance.setTraceHandler(null);
+
+ // Add the menus TODO: i18n
+ TMenu fileMenu = addMenu("&File");
+ fileMenu.addItem(MENU_OPEN, "&Open");
+ fileMenu.addItem(MENU_EXPORT, "&Save as...");
+ // TODO: Move to...
+ fileMenu.addSeparator();
+ fileMenu.addItem(MENU_IMPORT_URL, "Import &URL...");
+ fileMenu.addItem(MENU_IMPORT_FILE, "Import &file...");
+ fileMenu.addSeparator();
+ fileMenu.addItem(MENU_EXIT, "E&xit");
+
+ TStatusBar statusBar = fileMenu.newStatusBar("File-management "
+ + "commands (Open, Save, Print, etc.)");
+ // TODO: doesn't actually work:
+ statusBar.addShortcutKeypress(TKeypress.kbF10, TCommand.cmExit, "Exit");
+
+ // TODO: Edit: re-download, delete
+
+ //
+