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:
parent
49d77e2275
commit
5e673ed855
@ -1,3 +1,9 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
2004-02-10 David Jee <djee@redhat.com>
|
2004-02-10 David Jee <djee@redhat.com>
|
||||||
|
|
||||||
* gnu/java/awt/peer/gtk/GtkButtonPeer.java
|
* gnu/java/awt/peer/gtk/GtkButtonPeer.java
|
||||||
|
@ -108,8 +108,8 @@ public class EmbeddedWindow extends Frame
|
|||||||
throw new RuntimeException ("EmbeddedWindow is already embedded");
|
throw new RuntimeException ("EmbeddedWindow is already embedded");
|
||||||
|
|
||||||
this.handle = handle;
|
this.handle = handle;
|
||||||
if (peer != null)
|
if (getPeer() != null)
|
||||||
((EmbeddedWindowPeer) peer).embed (this.handle);
|
((EmbeddedWindowPeer) getPeer()).embed (this.handle);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user