diff options
author | James E. Blair <corvus@gnu.org> | 1998-12-16 03:10:59 +0000 |
---|---|---|
committer | James E. Blair <corvus@gnu.org> | 1998-12-16 03:10:59 +0000 |
commit | 19153cc7c32d524decaef948e2e6b4a69a4cf032 (patch) | |
tree | 88a2e821214abecc4792e8a087f8cd505c71cdcb | |
parent | 9760348bcacc90a5b3419a11a2755a8fd99aed4f (diff) | |
download | classpath-19153cc7c32d524decaef948e2e6b4a69a4cf032.tar.gz |
Added ListPeer
-rw-r--r-- | gnu/java/awt/peer/gtk/Makefile | 5 | ||||
-rw-r--r-- | gnu/java/awt/peer/gtk/Test.java | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gnu/java/awt/peer/gtk/Makefile b/gnu/java/awt/peer/gtk/Makefile index 015a8b588..9e6df66c8 100644 --- a/gnu/java/awt/peer/gtk/Makefile +++ b/gnu/java/awt/peer/gtk/Makefile @@ -13,12 +13,13 @@ objects = GtkButtonPeer.class GtkFileDialogPeer.class GtkPanelPeer.class \ GtkMainThread.class GtkScrollPanePeer.class GtkChoicePeer.class \ GtkGenericPeer.class GtkCheckboxPeer.class Test.class \ GtkTextComponentPeer.class GtkTextFieldPeer.class \ - GtkTextAreaPeer.class GtkLabelPeer.class + GtkTextAreaPeer.class GtkLabelPeer.class GtkListPeer.class jniclass = GtkButtonPeer GtkFileDialogPeer GtkComponentPeer \ GtkContainerPeer GtkWindowPeer GtkMainThread \ GtkScrollPanePeer GtkCheckboxPeer GtkToolkit \ GtkChoicePeer GtkTextComponentPeer \ - GtkTextFieldPeer GtkTextAreaPeer GtkLabelPeer + GtkTextFieldPeer GtkTextAreaPeer GtkLabelPeer \ + GtkListPeer jnideps := $(foreach class,$(jniclass),$(package)_$(strip $(class)).h) all: Test headers diff --git a/gnu/java/awt/peer/gtk/Test.java b/gnu/java/awt/peer/gtk/Test.java index 5660a9e3f..fffed15ea 100644 --- a/gnu/java/awt/peer/gtk/Test.java +++ b/gnu/java/awt/peer/gtk/Test.java @@ -43,7 +43,7 @@ class Test TextField tf = new TextField("Hello world!"); pan.add(tf); - Choice ch=new Choice(); + List ch=new List(); ch.add("Ding"); ch.add("September"); ch.add("Red"); @@ -91,3 +91,5 @@ class Test } } + + |