package com.codegym.task.task32.task3209;
import javax.swing.text.html.HTMLDocument;
import java.io.File;
public class Controller {
private View view;
private HTMLDocument document;
private File currentFile;
public Controller(View view) {
this.view = view;
}
public void init() {}
public void exit() {
System.exit(0);
}
public static void main(String[] args) {
View view = new View();
Controller controller = new Controller(view);
view.setController(controller);
view.init();
controller.init();
}
public static class ExceptionHandler {
public static void log(Exception e) {
}
}
}
need improve
Resolved
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
Wei Cui
8 April 2020, 19:54solution
+8