mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-06 05:50:53 +03:00
fixed errors reported by Error Prone in commit 6c8f813e53
Some checks failed
CI / build (11) (push) Has been cancelled
CI / build-on (17, ) (push) Has been cancelled
CI / build-on (21, ) (push) Has been cancelled
CI / build-on (23, ) (push) Has been cancelled
CI / build-on (8, ) (push) Has been cancelled
CI / snapshot (push) Has been cancelled
CI / release (push) Has been cancelled
Some checks failed
CI / build (11) (push) Has been cancelled
CI / build-on (17, ) (push) Has been cancelled
CI / build-on (21, ) (push) Has been cancelled
CI / build-on (23, ) (push) Has been cancelled
CI / build-on (8, ) (push) Has been cancelled
CI / snapshot (push) Has been cancelled
CI / release (push) Has been cancelled
This commit is contained in:
@@ -54,7 +54,7 @@ public class FlatClassLoaderTest
|
||||
}, FlatClassLoaderTest.class.getClassLoader() );
|
||||
|
||||
Class<?> lafClass = cl.loadClass( "com.formdev.flatlaf.FlatDarkLaf" );
|
||||
LookAndFeel laf = (LookAndFeel) lafClass.newInstance();
|
||||
LookAndFeel laf = (LookAndFeel) lafClass.getDeclaredConstructor().newInstance();
|
||||
UIManager.setLookAndFeel( laf );
|
||||
|
||||
JFrame frame = new JFrame( "FlatClassloaderTest" );
|
||||
|
||||
Reference in New Issue
Block a user