MCPcopy Create free account
hub / github.com/java-native-access/jna / loadJAWT

Method loadJAWT

test/com/sun/jna/LibraryLoadTest.java:296–307  ·  view source on GitHub ↗
(String name)

Source from the content-addressed store, hash-verified

294
295 private static class AWT {
296 public static void loadJAWT(String name) {
297 Frame f = new Frame(name);
298 f.pack();
299 try {
300 // FIXME: this works as a test, but fails in ShapedWindowDemo
301 // if the JAWT load workaround is not used
302 Native.getWindowPointer(f);
303 }
304 finally {
305 f.dispose();
306 }
307 }
308 }
309
310 public static void main(String[] args) {

Callers 1

testLoadJAWTMethod · 0.95

Calls 2

getWindowPointerMethod · 0.95
disposeMethod · 0.45

Tested by

no test coverage detected