|
|
|
|
|
|
|
|
ChatView view = new ChatView(); |
|
|
ChatView view = new ChatView(); |
|
|
GrafikView zeichenflaeche = view.getGvZeichenflaeche(); |
|
|
GrafikView zeichenflaeche = view.getGvZeichenflaeche(); |
|
|
zeichenflaeche.setModel(model); |
|
|
zeichenflaeche.setModel(model); |
|
|
GrafikController controller = new GrafikController(zeichenflaeche, model); |
|
|
|
|
|
controller.registerEvents(); |
|
|
|
|
|
|
|
|
|
|
|
CommandController controller_commands = new CommandController(view); |
|
|
CommandController controller_commands = new CommandController(view); |
|
|
controller_commands.registerEvents(); |
|
|
controller_commands.registerEvents(); |
|
|
controller_commands.registerCommands(); |
|
|
controller_commands.registerCommands(); |
|
|
|
|
|
|
|
|
|
|
|
GrafikController controller = new GrafikController(zeichenflaeche, model, controller_commands); |
|
|
|
|
|
controller.registerEvents(); |
|
|
|
|
|
|
|
|
view.setVisible(true); |
|
|
view.setVisible(true); |
|
|
} |
|
|
} |
|
|
|
|
|
|