I'm getting this error:
cannot find symbol
symbol : constructor Editor()
location: class Editor
The likely short answer is put in a super(); call.
The likely longer answer is:-
Go and compare the constructor in your superclass (Editor) with what you are calling.
How many constructors do you have in Engine? Are you calling them from one
another using the
syntax?
Remember every constructor in your subclass has to have a route (direct or indirect) to call the constructor for the superclass, unless you have a public [or protected] no-argument constructor in your superclass.
SO:- If you have a public no-argument constructor in your superclass, you oughtn't to get that error message.
If you haven't written a constructor for your superclass, your compiler will impute a public no-argument constructor, and you oughtn't to get that error message.
BUT:- If you only have public [or protected] constructors with arguments in your superclass, then every constructor in your subclass must call one of those constructors with a
statement. If you have overloaded your subclass constructors, you either have to call the superclass constructor directly with super(something); in each constructor, or use this(); to call another constructor which then uses super();
I hope you get your program to work and I hope you can understnad what I have written.
CR