diff options
author | Sven Gothel <[email protected]> | 2023-01-31 04:27:30 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-01-31 04:27:30 +0100 |
commit | ef206c881a9fd462e52241fac506bee5441902ad (patch) | |
tree | 833a96490991b2ce1cb8fbbe3136a8d0d8a4e064 /src/newt/classes/jogamp | |
parent | 50f07e601a9de0ccad0cdb393898dc01d147cadb (diff) |
Fix NewtFactoryAWT: screen.getMonitor(..) -> screen.getMonitorById(..); Misc left-over changes ..
GDIUtil: Remove uncommented GetMonitorPixelScale(..) point variant
JAWTUtil: Clarify Java version comment w/ spacing
NEWT Display.getThreadName(): Return 'Thread[0x<hash-value>, <name>]'
NEWT Screen: Add getFullyEnteredMonitor(..)
NewtCanvasAWT: @SuppressWarnings for determineIfApplet() and use FQN within method
Diffstat (limited to 'src/newt/classes/jogamp')
-rw-r--r-- | src/newt/classes/jogamp/newt/awt/NewtFactoryAWT.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newt/classes/jogamp/newt/awt/NewtFactoryAWT.java b/src/newt/classes/jogamp/newt/awt/NewtFactoryAWT.java index 97625c8aa..6147b3dc0 100644 --- a/src/newt/classes/jogamp/newt/awt/NewtFactoryAWT.java +++ b/src/newt/classes/jogamp/newt/awt/NewtFactoryAWT.java @@ -175,7 +175,7 @@ public class NewtFactoryAWT extends NewtFactory { try { final Integer dispID = JAWTUtil.getMonitorDisplayID( gc.getDevice() ); if( null != dispID ) { - res = screen.getMonitor( dispID.intValue() ); + res = screen.getMonitorById( dispID.intValue() ); } if( null == res ) { // Fallback, use AWT component coverage |