eirikbakke opened a new pull request #2980:
URL: https://github.com/apache/netbeans/pull/2980
On Windows, when dragging window system tags with the mouse, the following
spurious error message may appear on the console running the NetBeans IDE or a
NetBeans Platform application:
```
java.lang.UnsupportedOperationException: Set sun.java2d.noddraw=true to
enable transparent windows
at
com.sun.jna.platform.WindowUtils$W32WindowUtils.setWindowAlpha(WindowUtils.java:796)
at
com.sun.jna.platform.WindowUtils.setWindowAlpha(WindowUtils.java:1940)
[catch] at
org.netbeans.core.nativeaccess.NativeWindowSystemImpl.setWindowAlpha(NativeWindowSystemImpl.java:88)
at
org.netbeans.core.windows.view.dnd.DragAndDropFeedbackVisualizer.createDragWindow(DragAndDropFeedbackVisualizer.java:89)
at
org.netbeans.core.windows.view.dnd.DragAndDropFeedbackVisualizer.start(DragAndDropFeedbackVisualizer.java:110)
at
org.netbeans.core.windows.view.dnd.TopComponentDragSupport.doStartDrag(TopComponentDragSupport.java:402)
at
org.netbeans.core.windows.view.dnd.TopComponentDragSupport.eventDispatched(TopComponentDragSupport.java:327)
at
java.desktop/java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:2194)
```
This patch avoids the message. The patch was tested on both Windows and
MacOS, and the tab preview overlay is still translucent as intended.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists