Menu

How_to_deactivate_the_auxiliary_look_and_feel_on_the_fly

Paul-Emile Veuve

You don't need to restart your application to remove the auxiliary look and feel from your application:

 _LookAndFeel auxiliaryLaF = new FingonLookAndFeel();_
 _..._
 _UIManager.removeAuxiliaryLookAndFeel(auxiliaryLaF);_
 _SwingUtilities.updateComponentTreeUI(yourContainer);_

If you want to reactivate the auxiliary look and feel, still on the fly:

 _UIManager.addAuxiliaryLookAndFeel(auxiliaryLaF);_
 _SwingUtilities.updateComponentTreeUI(yourContainer);_

The whole UIs of your container (your window usually) will be refreshed, including the main look and feel UIs.


Related

FingonWiki: Main_Page

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.