mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-12 06:57:13 -06:00
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:
@@ -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>)
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user