Java look-and-feel changing without closing window?

After UIManager. SetLookAndFeel(laf); you should call: SwingUtilities. UpdateComponentTreeUI( this ).

You don't appear to be repainting after you change the look and feel.

I'm not that familiar with Swing/AWT GUIs, so I'm not sure if this repaints all the children or not. – Powerlord Feb 28 at 21:34 @R. Bemrose should call SwingUtilities.

UpdateComponentTreeUI – ZloiAdun Feb 28 at 21:53 @ZloiAdun: Ah, OK. – Powerlord Feb 28 at 22:05 repaint didn't work, see revised code. – Supuhstar Feb 28 at 22:19.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions