简体   繁体   中英

Synthetica swing theam doesn't load properly

I am using Synthetica swing themes for an application, there is an option for the user which can be used to change the theme, though the theme applied I have to minimize or maximize the window to apply the theme properly. Could anyone tell me why is that.

如果你想在运行时更改Swing Look and Feel ,那么你必须调用

SwingUtilities#updateComponentTreeUI(JFrame / JDialog / JWindow)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM