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) {
}
}
}
keep
Resolved
Comments (3)
- Popular
- New
- Old
You must be signed in to leave a comment
KIN SOCHEAT
19 July 2020, 03:46
my code don't see anything yet..
0
KIN SOCHEAT
19 July 2020, 03:46
hi have you try run does it show the menu?
0
Aleksander
9 April 2020, 12:11
Line 115 - I don't know if it is a reason, but I didn't use Controller.ExceptionHandler, just normal ExceptionHandler.
0