Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Add JButton to JToolBar also auto add JButton to L&F?  RSS feed

 
Mikey Chen
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Under kunststoff L&F add one button instance to JToolBar,
it found that the instance also be added to the KunststoffToolBarUI's one field. and the KunststoffToolBarUI is one static instance. And there has no method can be used to remove the referrence from the KunststoffToolbarUI instance, so the button instance's resource and the resource the button referres will never be gc'ed until exit the program.
Can you help me?
Thanks adv.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!