From aa5a50ce20a850873cfbe186f758ab2057b2bed5 Mon Sep 17 00:00:00 2001 From: jestin Date: Wed, 5 Jun 2002 16:21:34 +0000 Subject: Examples are really examples now. --- examples/Makefile | 2 +- examples/TestIvy.java | 3 +-- examples/TestIvySwing.java | 4 ++-- 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 -- cgit v1.1