How to Properly Clear LookAndFeel References?

You can also avoid a lot of these problems by declaring the LookAndFeel object before you declare any of the components that use that object. This means the components will be destroyed before the LookAndFeel is destroyed.

6 Likes