README.md: changed deprecated FlatLightLaf.install() to FlatLightLaf.setup()

This commit is contained in:
Karl Tauber
2021-06-01 16:23:54 +02:00
parent 903212345b
commit b26dbe81f4

View File

@@ -76,11 +76,11 @@ Addons
Getting started Getting started
--------------- ---------------
To enable FlatLaf, add following code to your main method before you create any To use FlatLaf, add following code to your main method before you create any
Swing component: Swing component:
~~~java ~~~java
FlatLightLaf.install(); FlatLightLaf.setup();
// create UI here... // create UI here...
~~~ ~~~