I am having a Frame named Frame1 and I am setting a look and feel L&F1.
Now in frame1, on clicking to a menu event and new Frame named Frame2 opens and there I set a look and feel L&F2.
Now I found that this kind of scenario is breaking the Frame1 and entire Frame1 gets hang
How to resolve this scenario.
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.