Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.48 KB | None | 0 0
  1. package mvc;
  2.  
  3. import javax.swing.SwingUtilities;
  4.  
  5. public class Main {
  6.  
  7.     public static void main(String[] args) {
  8.         SwingUtilities.invokeLater(new Runnable() {
  9.             @Override
  10.             public void run() {
  11.                 Model model = new Model();
  12.                 View view = new View();
  13.                 Controller controller = new Controller(model,view);
  14.                 controller.updateConsole("consoleOut","test update1");
  15.             }
  16.         });
  17.     }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement