Print at Dec 17, 2025, 2:26:06 AM

Posted by shadowcaster at Jun 5, 2024, 9:17:26 AM
Re: Dark Mode
Hi,

I've tried using the FlatDarkLaf but am not having any success. I've never ran any java swing program like this before, so I might be missing something simple.

I added flatlaf-3.4.1.jar into the sweethome3d\lib folder. I ran "java -jar SweetHome3D-7.4 jar -Dswing.defaultlaf=com.formdev.flatlaf.FlatDarkLaf. From cmd it starts to run sweethome but hangs after the logo displays. From powershell it runs, pauses, then launches the program but without applying flatdarklaf.

Any suggestions?