Makefile.am (gtk_awt_peer_sources): Add gnu/java/awt/peer/GLightweightPeer.java.
2003-08-21 Scott Gilbertson <scottg@mantatest.com> Thomas Fitzsimmons <fitzsim@redhat.com> * Makefile.am (gtk_awt_peer_sources): Add gnu/java/awt/peer/GLightweightPeer.java. Remove gnu/java/awt/GLightweightPeer.java. * gnu/java/awt/GLightweightPeer.java: Remove file. * gnu/java/awt/peer/GLightweightPeer.java: New file. * java/awt/Component.java (getToolkit): Add comment about lightweight components. * java/awt/Toolkit.java (createComponent): Return gnu.java.awt.peer.GLightweightPeer. Co-Authored-By: Thomas Fitzsimmons <fitzsim@redhat.com> From-SVN: r70657
This commit is contained in:
parent
eb84999398
commit
c79c6c5b9e
9 changed files with 168 additions and 105 deletions
|
@ -342,15 +342,13 @@ public abstract class Toolkit
|
|||
* with its own native window. Instead, this method allows the component
|
||||
* to draw on its parent window as a "lightweight" widget.
|
||||
*
|
||||
* XXX: FIXME
|
||||
*
|
||||
* @param target The <code>Component</code> to create the peer for.
|
||||
*
|
||||
* @return The peer for the specified <code>Component</code> object.
|
||||
*/
|
||||
protected LightweightPeer createComponent(Component target)
|
||||
{
|
||||
return null;
|
||||
return new gnu.java.awt.peer.GLightweightPeer (target);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue