aboutsummaryrefslogtreecommitdiffstats
path: root/src/nativewindow/classes/javax
diff options
context:
space:
mode:
Diffstat (limited to 'src/nativewindow/classes/javax')
-rw-r--r--src/nativewindow/classes/javax/media/nativewindow/NativeWindow.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nativewindow/classes/javax/media/nativewindow/NativeWindow.java b/src/nativewindow/classes/javax/media/nativewindow/NativeWindow.java
index 6a588538d..cdac2de71 100644
--- a/src/nativewindow/classes/javax/media/nativewindow/NativeWindow.java
+++ b/src/nativewindow/classes/javax/media/nativewindow/NativeWindow.java
@@ -132,9 +132,17 @@ public interface NativeWindow {
/**
* render all native window information invalid,
* as if the native window was destroyed
+ *
+ * @see #destroy
*/
public void invalidate();
+ /**
+ * destroys the window and releases
+ * windowing related resources.
+ */
+ public void destroy();
+
/**
* Returns the window handle for this NativeWindow. <P>
*