2004-02-10 Michael Koch <konqueror@gmx.de>
* gnu/java/awt/EmbeddedWindow.java (setHandle): Use java.awt.Component.getPeer() instead of java.awt.Component.peer directly. From-SVN: r77605
This commit is contained in:
committed by
Michael Koch
parent
49d77e2275
commit
5e673ed855
@@ -108,8 +108,8 @@ public class EmbeddedWindow extends Frame
|
||||
throw new RuntimeException ("EmbeddedWindow is already embedded");
|
||||
|
||||
this.handle = handle;
|
||||
if (peer != null)
|
||||
((EmbeddedWindowPeer) peer).embed (this.handle);
|
||||
if (getPeer() != null)
|
||||
((EmbeddedWindowPeer) getPeer()).embed (this.handle);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user