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:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user