public class MyApplication extends TApplication {
public MyApplication() {
- super();
+ super();
- // Create an editor window that has support for
- // copy/paste, search text, arrow keys, horizontal
- // and vertical scrollbar, etc.
- addEditor();
+ // Create an editor window that has support for
+ // copy/paste, search text, arrow keys, horizontal
+ // and vertical scrollbar, etc.
+ addEditor();
- // Create standard menus for File and Window
- addFileMenu();
- addWindowMenu();
+ // Create standard menus for File and Window
+ addFileMenu();
+ addWindowMenu();
}
public static void main(String [] args) {
- MyApplication app = new MyApplication();
- app.run();
+ MyApplication app = new MyApplication();
+ app.run();
}
}
```
0.0.1:
-- Base classes:
- - TCommand use getters/setters
- - TCommand.Type: switch to int so that subclasses can make more
- kinds of commands
- - TKeypress use getters/setters to make immutable
- - TKeypressEvent use getters/setters to make immutable
- - TMouseEvent use getters/setters to make immutable
-- Get a movable window on screen
- - TWidget
- - TWindow
- - TLabel
+- TMenu
+- TButton
0.0.2: