mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-12 06:57:13 -06:00
added API to register packages or folders where FlatLaf searches for application specific properties files with custom UI defaults
This commit is contained in:
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user