Change LAF Without Reboot
This commit is contained in:
parent
fe57e4f099
commit
3efffe6ad1
1 changed files with 10 additions and 0 deletions
|
@ -422,6 +422,16 @@ public class MainViewerGUI extends JFrame
|
|||
rstaThemes.get(Configuration.rstaTheme).setSelected(true);
|
||||
item.setSelected(true);
|
||||
Settings.saveSettings();
|
||||
|
||||
try
|
||||
{
|
||||
theme.setLAF();
|
||||
SwingUtilities.updateComponentTreeUI(BytecodeViewer.viewer);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
ex.printStackTrace();
|
||||
}
|
||||
});
|
||||
|
||||
lafThemes.put(theme, item);
|
||||
|
|
Loading…
Reference in a new issue