I have:
abstract class Menu extends JFrame
class IncomeMenu extends Menu
Everything works perfectly if both classes are in the same folder, but as soon as I move the Menu class to a separate folder (that I created to store all the abstract classes) I get an error. The prompt asks me to turn my IncomeMenu into an abstract class too and at runtime i get this error: java.lang.ExceptionInInitializerError.
Any tips on how I can solve this problem?