Commit b528910d by Michael Koch Committed by Michael Koch

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
parent 09638081
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>
......
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment