added hint to FlatLaf.registerCustomDefaultsSource() javadoc that the package must be opened in module-info.java (issue #325)

This commit is contained in:
Karl Tauber
2021-11-12 11:16:53 +01:00
parent a2d66e91ff
commit 0cb50355b7

View File

@@ -751,6 +751,8 @@ public abstract class FlatLaf
* and can therefore override all UI defaults.
* <p>
* Invoke this method before setting the look and feel.
* <p>
* If using Java modules, the package must be opened in {@code module-info.java}.
*
* @param packageName a package name (e.g. "com.myapp.resources")
*/