Lightweight peer implementation

Thomas Fitzsimmons fitzsim@redhat.com
Fri Aug 8 19:40:00 GMT 2003


Hello,

This patch is a first step toward support for lightweight components
that draw on GTK widgets.  The patch prevents a crash in the
ComponentMouse test from Acunia's open-wonka-visualtest.

Please review and comment.

Thanks,
Tom

2003-08-08  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* Makefile.am (gtk_awt_peer_sources): Add
	GtkLightweightPeer.java.  Remove GLightweightPeer.java.
	* gnu/java/awt/peer/gtk/GtkComponentPeer.java: Return before
	attempting to create GTK widgets if this is a lightweight peer.
	* gnu/java/awt/peer/gtk/GtkToolkit.java (createComponent): New
	method.
	* gnu/java/awt/peer/gtk/GtkLightweightPeer.java: New file.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lightweight.diff
Type: text/x-patch
Size: 5720 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20030808/787211c7/attachment.bin>


More information about the Java-patches mailing list