6 System newProcessGroupWith: (Process newWithMethod: #REPL class: REPL new).
8 addWidget: (GuiButton new: 'test' actionBlock: [ 'test button pressed' printNl. GuiSingleton setQuitFlag ]);
10 dlg := GuiDialog new: 'First Dialog Window' widget: box.
12 "GuiSingleton message: 'starting GUI loop...'."
13 GuiSingleton addWidget: dlg.
14 GuiSingleton mainLoop.