Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding custom panel to Palette

 
Jesse Miller
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JAVA file that defines a custom JPanel that configures a tree structure. Some time ago I created it and added it to the palette just find. I then was able to drag that panel onto a JFrame I have created and everything worked perfectly. However, just recently something broke. Im not really sure what but now when I got to switch to Design view I get an error that the component cannont be loaded. Again, I did not change anything! I am wondering what happened. Any suggestions?
 
Rob Spoor
Sheriff
Pie
Posts: 20495
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since you're obviously using an IDE with GUI builder I shall move this thread to our IDEs forum.
As a parting question, what IDE are you using? Eclipse, Netbeans, something else?
 
Jesse Miller
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
NetBeans IDE 6.8
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic