aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile2
-rw-r--r--examples/TestIvy.java3
-rw-r--r--examples/TestIvySwing.java4
3 files changed, 4 insertions, 5 deletions
diff --git a/examples/Makefile b/examples/Makefile
index a04152b..c9e6206 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -1,5 +1,5 @@
# Be sure to set this before compiling ...
-# JIKESPATH = /usr/lib/j2re1.3/lib/rt.jar:/usr/share/java/repository
+JIKESPATH = /usr/lib/j2re1.3/lib/rt.jar:../lib/ivy-java.jar
JAVACOPTS = -deprecation
.SUFFIXES: .java .class
SRCS = TestIvy.java TestIvySwing.java Counter.java ivyTranslater.java
diff --git a/examples/TestIvy.java b/examples/TestIvy.java
index 802f982..7bbc99c 100644
--- a/examples/TestIvy.java
+++ b/examples/TestIvy.java
@@ -1,7 +1,6 @@
-package fr.dgac.ivy ;
-
import java.awt.* ;
import java.awt.event.* ;
+import fr.dgac.ivy.*;
/**
* toy tool to probe the Ivy software bus.
diff --git a/examples/TestIvySwing.java b/examples/TestIvySwing.java
index ed61741..07b226e 100644
--- a/examples/TestIvySwing.java
+++ b/examples/TestIvySwing.java
@@ -1,9 +1,8 @@
-package fr.dgac.ivy ;
-
import java.awt.BorderLayout;
import java.awt.event.*;
import javax.swing.* ;
import gnu.getopt.Getopt ;
+import fr.dgac.ivy.*;
/**
* toy tool to probe the Ivy software bus.
@@ -219,6 +218,7 @@ class TestIvySwing extends JPanel implements IvyApplicationListener {
private JFrame f;
public WCCB(JFrame f, TestIvySwing b) { this.f=f; }
public void windowClosing(WindowEvent e) {
+ System.out.println("closing");
bus.stop();
f.dispose();
// I leave when the last TestIvySwing exits