• Post Reply Bookmark Topic Watch Topic
  • New Topic

Help with artifact

 
Chris Swanson
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

 
Rob Spoor
Sheriff
Posts: 20819
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!