Native window decorations: renamed project flatlaf-native-jna to flatlaf-natives/flatlaf-natives-jna

removed module-info.java because this JAR is not released/published
This commit is contained in:
Karl Tauber
2021-03-04 11:04:47 +01:00
parent 7341008449
commit a6815574f7
9 changed files with 14 additions and 40 deletions

View File

@@ -165,7 +165,7 @@ public abstract class FlatLaf
* <p>
* Returns also {@code false} on Windows 10 if:
* <ul>
* <li>FlatLaf native window border support is available (requires {@code flatlaf-native-jna.jar})</li>
* <li>FlatLaf native window border support is available (requires {@code flatlaf-natives-jna.jar})</li>
* <li>running in
* <a href="https://confluence.jetbrains.com/display/JBR/JetBrains+Runtime">JetBrains Runtime 11 (or later)</a>
* (<a href="https://github.com/JetBrains/JetBrainsRuntime">source code on github</a>)

View File

@@ -74,7 +74,7 @@ public interface FlatSystemProperties
/**
* Specifies whether FlatLaf native window decorations should be used
* when creating {@code JFrame} or {@code JDialog}.
* Requires that {@code flatlaf-native-jna.jar} is on classpath/modulepath.
* Requires that {@code flatlaf-natives-jna.jar} is on classpath/modulepath.
* <p>
* Setting this to {@code true} forces using FlatLaf native window decorations
* even if they are not enabled by the application.

View File

@@ -228,7 +228,7 @@ public class FlatNativeWindowBorder
return;
try {
Class<?> cls = Class.forName( "com.formdev.flatlaf.nativejna.windows.FlatWindowsNativeWindowBorder" );
Class<?> cls = Class.forName( "com.formdev.flatlaf.natives.jna.windows.FlatWindowsNativeWindowBorder" );
Method m = cls.getMethod( "getInstance" );
nativeProvider = (Provider) m.invoke( null );