()
| 111 | // must be performed on awt event thread |
| 112 | Runnable updateAComponent = new Runnable() { |
| 113 | public void run() |
| 114 | { |
| 115 | Lock(); |
| 116 | System.out.println("direct rendering = " + (rw.IsDirect() == 1)); |
| 117 | System.out.println("opengl supported = " + (rw.SupportsOpenGL() == 1)); |
| 118 | System.out.println("report = " + rw.ReportCapabilities()); |
| 119 | UnLock(); |
| 120 | } |
| 121 | }; |
| 122 | |
| 123 | SwingUtilities.invokeLater(updateAComponent); |
nothing calls this directly
no test coverage detected