12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- /*
- * 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 ChatController implements ActionListener
- {
- private ChatView view;
- private ChatModel model;
- private static Logger lg = OhmLogger.getLogger();
-
- /**
- *
- * @param view
- * @param model
- */
- public ChatController(ChatView view, ChatModel model)
- {
- this.view = view;
- this.model = model;
- }
-
- public void registerEvents()
- {
- view.getBtnSend().addActionListener(this);
- }
-
- @Override
- public void actionPerformed(ActionEvent e)
- {
- }
-
-
-
- }
|