/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package netz.controller; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.logging.Logger; import netz.model.ChatModel; import netz.view2.ChatView; import ohmlogger.OhmLogger; /** * * @author chris */ public class BtnController implements ActionListener { private ChatView view; private ChatModel model; private static Logger lg = OhmLogger.getLogger(); /** * * @param view * @param model */ public BtnController(ChatView view, ChatModel model) { this.view = view; this.model = model; } public void registerEvents() { view.getBtnSetClient().addActionListener(this); view.getBtnSetServer().addActionListener(this); } @Override public void actionPerformed(ActionEvent e) { } }