This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
Add JButton to JToolBar also auto add JButton to L&F?
posted 13 years ago
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.