title: How do I separate classes for MVC design pattern in Java (KeyListener separate from JFrame)?
body: <p>I am making an arkanoid game in java using the MVC design pattern and I do not know how to make the Controller class seperate from the view Class. Its should be simple enough task i want to make the keyListener in the controller class while keeping all the visual stuff in the View class (i can deal with the model myself). For some reason I cannot find how to do that. For now i have one view class that extends JFrame and implements keylistener.</p>
  
  <p>I would prefer an answer that posts 2 small classes with the code. </p>