GrafikFrame und View mal eingefügt aber noch nicht eingebunden

Ich hab überall wo der Frame eingebunden werden muss die sachen 
auskommentiert und ToDos eingefügt
This commit is contained in:
2023-12-18 11:21:08 +01:00
parent 78c5d8eedf
commit 64a6047ca4
8 changed files with 454 additions and 93 deletions
@@ -29,13 +29,14 @@ public class CommandController implements ActionListener{
public void registerEvents(){
view.getBtnConnect().addActionListener(this);
view.getTfNachricht().addActionListener(this);
//ToDo: muss auf gFrame referenzieren
//view.getTfNachricht().addActionListener(this);
}
public void registerCommands(){
CommandSend commandSend = new CommandSend(view);
invoker.addCommand(view.getBtnConnect(), new CommandConnect(view, commandSend));
invoker.addCommand(view.getTfNachricht(), commandSend);
//invoker.addCommand(view.getTfNachricht(), commandSend);
}
/**