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
This commit is contained in:
committed by
Michael Koch
parent
0963808165
commit
b528910ddd
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user