(String name)
| 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) { |
no test coverage detected