is there a specific way to change the look and feel of a swing application without needing to restart the application every time the LAF got changed by the user?
im looking for a solution where one can select the LAF from a configuration dialog and it changes directly on apply without having to fall back to telling the user to restart the application.
currently i remember the selected LAF in a properties file and set it on startup before any window has been opened.
UIResource
isn't used (as it can't with some classes and primitives), then how can the PL&F accurately detect whether the application code has an interest in a component property?). – CerebrateupdateUI()
method. But in general it should work. You can change L&F in IntelliJ IDEA without restarting and I wouldn't say it's a small app. – Stringendo