added API to register packages or folders where FlatLaf searches for application specific properties files with custom UI defaults

This commit is contained in:
Karl Tauber
2020-08-26 11:01:41 +02:00
parent a1dab94a61
commit b208017117
7 changed files with 132 additions and 0 deletions

View File

@@ -77,6 +77,9 @@ public class FlatTestFrame
// disable animated Laf change
System.setProperty( "flatlaf.animatedLafChange", "false" );
// test loading custom defaults from package
FlatLaf.registerCustomDefaultsSource( "com.formdev.flatlaf.testing.customdefaults" );
// set look and feel
DemoPrefs.initLaf( args );