]> gcc.gnu.org Git - gcc.git/commitdiff
2003-07-27 Michael Koch <konqueror@gmx.de>
authorMichael Koch <konqueror@gmx.de>
Sun, 27 Jul 2003 19:38:00 +0000 (19:38 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Sun, 27 Jul 2003 19:38:00 +0000 (19:38 +0000)
* java/awt/Window.java
(Window): Removed now unused constructor. It became oboslete with the
new embedded window patch.

From-SVN: r69860

libjava/ChangeLog
libjava/java/awt/Window.java

index a7689e487eb2649014b8366d52cb32cb433f954e..38eee7084c2fdf56b0516d452018f3860f0f0fcb 100644 (file)
@@ -1,3 +1,9 @@
+2003-07-27  Michael Koch  <konqueror@gmx.de>
+
+       * java/awt/Window.java
+       (Window): Removed now unused constructor. It became oboslete with the
+       new embedded window patch.
+
 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
            Michael Koch  <konqueror@gmx.de>
 
index ebaa0d1f02f1a94983e360304f5a9f3199ea3b78..2f625aa6d81451e9ccf299e23ed80f64c4a36837 100644 (file)
@@ -38,7 +38,6 @@ exception statement from your version. */
 
 package java.awt;
 
-import gnu.java.awt.EmbeddedWindowSupport;
 import java.awt.event.WindowEvent;
 import java.awt.event.WindowFocusListener;
 import java.awt.event.WindowListener;
@@ -93,19 +92,6 @@ public class Window extends Container implements Accessible
     graphicsConfiguration = gc;
   }
 
-  Window(int window_id, int width, int height)
-  {
-    this();
-
-    Toolkit tk = getToolkit();
-    if (!(tk instanceof EmbeddedWindowSupport))
-      throw new UnsupportedOperationException
-       ("Embedded windows not supported by the current peers: " + tk.getClass());
-    
-    peer = ((EmbeddedWindowSupport) getToolkit())
-           .createEmbeddedWindow (window_id, width, height);
-  }
-  
   /**
    * Initializes a new instance of <code>Window</code> with the specified
    * parent.  The window will initially be invisible.
This page took 0.070399 seconds and 5 git commands to generate.