Hello. I am trying implement some layering within my code, but I don't know what's the best way to move between them. The problem is when I fire the component removed code, it causes errors displaying graphics from a higher level in my code. Can anyone give me some suggestions on how I should improve my code?
Can you please turn that into an SSCCE? That means:
- no references to other classes like StudyPanel or CreationModule
- a main method
After I replaced those references to simple JPanels and added a main method I got a runtime exception in your constructor, at line 54. I suggest you fix that first.