title: How to change Swing application's look and feel at runtime?
body: <p>I know that there's a <code>SwingUtilities.updateComponentTreeUI(Component c)</code> method but it doesn't work perfectly. For example, I have a <code>JFileChooser</code> and the current look and feel is Windows, then I change the look and feel to Nimbus with <code>SwingUtilities.updateComponentTreeUI(mainWindow)</code>, and the main window's style is changed correctly, but when I show the file chooser with the <code>JFileChooser.showOpenDialog(Component parent)</code> method, it's still in Windows look and feel. The same happens if I show a popup dialog with the <code>JPopupMenu.show(Component invoker, int x, int y)</code> method.</p>
  <p>Any solution to this issue?</p>