Rob Spoor wrote:Hanging? That's new for me. I know that the existing user interface usually doesn't get repainted when changing the look&feel, but this can be solved by using SwingUtilities.updateComponentTreeUI().
Can you show us how you change the look&feel? Perhaps you have an infinite loop somewhere.
Rob, actually it is not hanging. The frame1 gets blurred as soon as I click for Frame2(repainting issue).
As per you suggestion, I will work on it and update.