From b528910ddd20beff184e5051471ed6759af2a4cf Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Sun, 27 Jul 2003 19:38:00 +0000 Subject: [PATCH] 2003-07-27 Michael Koch * java/awt/Window.java (Window): Removed now unused constructor. It became oboslete with the new embedded window patch. From-SVN: r69860 --- libjava/ChangeLog | 6 ++++++ libjava/java/awt/Window.java | 14 -------------- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index a7689e487eb..38eee7084c2 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,9 @@ +2003-07-27 Michael Koch + + * java/awt/Window.java + (Window): Removed now unused constructor. It became oboslete with the + new embedded window patch. + 2003-07-27 Thomas Fitzsimmons Michael Koch diff --git a/libjava/java/awt/Window.java b/libjava/java/awt/Window.java index ebaa0d1f02f..2f625aa6d81 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 Window with the specified * parent. The window will initially be invisible. -- 2.30.2