renamed Flat*Laf.install() methods to Flat*Laf.setup() to avoid confusion with UIManager.installLookAndFeel(LookAndFeelInfo info); the old Flat*Laf.install() methods are still there, but marked as deprecated

This commit is contained in:
Karl Tauber
2021-04-22 14:19:26 +02:00
parent 1c52f1f76c
commit d97146393c
78 changed files with 742 additions and 153 deletions

View File

@@ -55,7 +55,7 @@ public class FlatNativeWindowBorderTest
public static void main( String[] args ) {
SwingUtilities.invokeLater( () -> {
FlatLightLaf.install();
FlatLightLaf.setup();
FlatInspector.install( "ctrl shift alt X" );
mainFrame = showFrame();

View File

@@ -97,7 +97,7 @@ public class FlatTestFrame
FlatLaf.registerCustomDefaultsSource( "com.formdev.flatlaf.testing.customdefaults" );
// set look and feel
DemoPrefs.initLaf( args );
DemoPrefs.setupLaf( args );
// create frame
return new FlatTestFrame( title );