aboutsummaryrefslogtreecommitdiff
path: root/examples/TestIvySwing.java
diff options
context:
space:
mode:
authorjestin2002-12-30 13:06:40 +0000
committerjestin2002-12-30 13:06:40 +0000
commite126ac84a2d2415328989d0e084faeda42e303c8 (patch)
tree7724dfdd52714fcf2edec63c2c2e21d3600f51b1 /examples/TestIvySwing.java
parent4aa86fb6b7edab0406d4003eb2c5be378a87f982 (diff)
downloadivy-java-e126ac84a2d2415328989d0e084faeda42e303c8.zip
ivy-java-e126ac84a2d2415328989d0e084faeda42e303c8.tar.gz
ivy-java-e126ac84a2d2415328989d0e084faeda42e303c8.tar.bz2
ivy-java-e126ac84a2d2415328989d0e084faeda42e303c8.tar.xz
Cleanup.
Diffstat (limited to 'examples/TestIvySwing.java')
-rw-r--r--examples/TestIvySwing.java25
1 files changed, 12 insertions, 13 deletions
diff --git a/examples/TestIvySwing.java b/examples/TestIvySwing.java
index 582e8a1..ee265a5 100644
--- a/examples/TestIvySwing.java
+++ b/examples/TestIvySwing.java
@@ -1,24 +1,23 @@
+/**
+ * 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 <a href="http://www.tls.cena.fr/products/ivy/">http://www.tls.cena.fr/products/ivy/</a>
+ *
+ * (c) CENA
+ *
+ */
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.
- * it relies on the Swing toolkit, which is not standard on jdk1.1 platform.
- * if you don't have jdk1.2 or swing, consider downloading it. You can also
- * use TestIvy
- *
- * @see fr.dgac.ivy.TestIvy
- * @author Yannick Jestin
- * @author <a href="http://www.tls.cena.fr/products/ivy/">http://www.tls.cena.fr/products/ivy/</a>
- */
class TestIvySwing extends JPanel implements IvyApplicationListener {
- /**
- * help message for the standalone program
- */
public static final String helpmsg = "usage: java TestIvySwing [options]\n\t-b BUS\tspecifies the Ivy bus domain\n\t-q\tquiet, no tty output\n\t-d\tdebug\n\t-h\thelp\n";
public static final int WIDTH=30;
public static final int HEIGHT=30;