20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26
27 package sun.awt.windows;
28
29 import java.awt.Image;
30 import java.awt.Component;
31
32 /**
33 * This sun-private class exists solely to get a handle to
34 * the back buffer associated with a Component. If that
35 * Component has a BufferStrategy with >1 buffer, then the
36 * Image subclass associated with that buffer will be returned.
37 */
38 public class WBufferStrategy {
39
40 private static native void initIDs(Class componentClass);
41
42 static {
43 initIDs(Component.class);
44 }
45
46 public static native Image getDrawBuffer(Component comp);
47
48 }
|
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26
27 package sun.awt.windows;
28
29 import java.awt.Image;
30 import java.awt.Component;
31
32 /**
33 * This sun-private class exists solely to get a handle to
34 * the back buffer associated with a Component. If that
35 * Component has a BufferStrategy with >1 buffer, then the
36 * Image subclass associated with that buffer will be returned.
37 */
38 public class WBufferStrategy {
39
40 private static native void initIDs(Class <?> componentClass);
41
42 static {
43 initIDs(Component.class);
44 }
45
46 public static native Image getDrawBuffer(Component comp);
47
48 }
|