Edit C:\Program Files\Java\jdk1.8.0_121\com\sun\glass\ui\monocle\DispmanAcceleratedScreen.java
/* * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.glass.ui.monocle; import java.security.AccessController; import java.security.PrivilegedAction; class DispmanAcceleratedScreen extends AcceleratedScreen { DispmanAcceleratedScreen(int[] attributes) throws GLException { super(attributes); } private native long _platformGetNativeWindow(int displayID, int layerID); @Override protected long platformGetNativeWindow() { int displayID = AccessController.doPrivileged( (PrivilegedAction<Integer>) () -> Integer.getInteger("dispman.display", 0 /* LCD */)); int layerID = AccessController.doPrivileged( (PrivilegedAction<Integer>) () -> Integer.getInteger("dispman.layer", 1)); return _platformGetNativeWindow(displayID, layerID); } }
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de