* gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
authorScott Gilbertson <scottg@mantatest.com>
Fri, 14 May 2004 21:36:47 +0000 (21:36 +0000)
committerScott Gilbertson <sgilbertson@gcc.gnu.org>
Fri, 14 May 2004 21:36:47 +0000 (21:36 +0000)
From-SVN: r81859

libjava/ChangeLog
libjava/gnu/awt/xlib/XCanvasPeer.java

index f78f86c..0917bfa 100644 (file)
@@ -1,3 +1,7 @@
+2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
+
+       * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
+
 2004-05-14  Steven Augart  <augart@watson.ibm.com>
 
        * include/jni.h (_Jv_func): Removed.
index 18edaf5..d8a00db 100644 (file)
@@ -424,7 +424,8 @@ public class XCanvasPeer implements CanvasPeer
       }
     else
       {
-       throw new UnsupportedOperationException("unmap not implemented");
+       window.unmap();
+       ensureFlush();      
       }
   }