From 603599544c1720e796dc622c98e5ca0fd22b8e17 Mon Sep 17 00:00:00 2001
From: jestin
Date: Tue, 7 Jan 2003 17:13:08 +0000
Subject: Adaptés à une plus vieille JDK
---
examples/TestIvySwing.java | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
(limited to 'examples/TestIvySwing.java')
diff --git a/examples/TestIvySwing.java b/examples/TestIvySwing.java
index ee265a5..e7a9315 100644
--- a/examples/TestIvySwing.java
+++ b/examples/TestIvySwing.java
@@ -1,13 +1,17 @@
/**
* TestIvySwing, a swing Ivy Java example to probe the Ivy software bus.
*
- * it relies on the Swing toolkit, which is not standard on jdk1.1 platforms,
- * if you don't have swing, your can use TestIvy.
- *
* @author Yannick Jestin
* @author http://www.tls.cena.fr/products/ivy/
*
* (c) CENA
+ *
+ * it relies on the Swing toolkit, which is not standard on jdk1.1 platforms,
+ * if you don't have swing, your can use TestIvy.
+ *
+ * New:
+ * 1.2.3: use of Vector.addElement instead of add() and the old Properties
+ * model
*
*/
import java.awt.BorderLayout;
@@ -15,6 +19,7 @@ import java.awt.event.*;
import javax.swing.* ;
import gnu.getopt.Getopt ;
import fr.dgac.ivy.*;
+import java.util.*;
class TestIvySwing extends JPanel implements IvyApplicationListener {
@@ -48,7 +53,7 @@ class TestIvySwing extends JPanel implements IvyApplicationListener {
// initialize the domainlist
domainList = new java.util.Vector();
for (int i = 0; i