Как видно, я сделал все, что от меня требовалось относительно класса TabbedPaneChangeListener, но не могу понять, что ему все ещё не нравится.
package com.javarush.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 view2 = new View();
Controller controller2 = new Controller(view2);
view2.setController(controller2);
view2.init();
controller2.init();
}
}