mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-07 22:40:53 +03:00
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:
@@ -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();
|
||||
|
||||
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user