You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The GlobalScreen class from the JNativeHook library does not implement the AutoCloseable interface, making it inconvenient to use in try-with-resources statements.
Expected Behavior:
The GlobalScreen class should implement the AutoCloseable interface to allow for proper resource management using try-with-resources.
Adding support for the AutoCloseable interface would enhance the usability of the library in applications that rely on try-with-resources statements for resource cleanup.
The text was updated successfully, but these errors were encountered:
Issue Description:
The
GlobalScreen
class from the JNativeHook library does not implement theAutoCloseable
interface, making it inconvenient to use in try-with-resources statements.Expected Behavior:
The
GlobalScreen
class should implement theAutoCloseable
interface to allow for proper resource management using try-with-resources.Adding support for the AutoCloseable interface would enhance the usability of the library in applications that rely on try-with-resources statements for resource cleanup.
The text was updated successfully, but these errors were encountered: