diff options
author | Michael Koch <konqueror@gmx.de> | 2003-07-27 19:38:00 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2003-07-27 19:38:00 +0000 |
commit | b528910ddd20beff184e5051471ed6759af2a4cf (patch) | |
tree | 2fb1e9acd7bfdd3fdd4a1d62b6779d6ca8d2f66f | |
parent | 096380816540c78e63e64f0349af2a0416be8f56 (diff) | |
download | gcc-b528910ddd20beff184e5051471ed6759af2a4cf.zip gcc-b528910ddd20beff184e5051471ed6759af2a4cf.tar.gz gcc-b528910ddd20beff184e5051471ed6759af2a4cf.tar.bz2 |
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.
From-SVN: r69860
-rw-r--r-- | libjava/ChangeLog | 6 | ||||
-rw-r--r-- | libjava/java/awt/Window.java | 14 |
2 files changed, 6 insertions, 14 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index a7689e4..38eee70 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -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> diff --git a/libjava/java/awt/Window.java b/libjava/java/awt/Window.java index ebaa0d1..2f625aa 100644 --- a/libjava/java/awt/Window.java +++ b/libjava/java/awt/Window.java @@ -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. |