home *** CD-ROM | disk | FTP | other *** search
/ ftp.ee.pdx.edu / 2014.02.ftp.ee.pdx.edu.tar / ftp.ee.pdx.edu / oss / cvs-2004 / cantalope / cantalope.java,v < prev    next >
Text File  |  2003-07-14  |  1KB  |  75 lines

  1. head     1.1;
  2. branch   1.1.1;
  3. access   ;
  4. symbols  Initial:1.1.1.1 CANtalope:1.1.1;
  5. locks    ; strict;
  6. comment  @# @;
  7.  
  8.  
  9. 1.1
  10. date     2003.07.14.20.41.53;  author larryl;  state Exp;
  11. branches 1.1.1.1;
  12. next     ;
  13.  
  14. 1.1.1.1
  15. date     2003.07.14.20.41.53;  author larryl;  state Exp;
  16. branches ;
  17. next     ;
  18.  
  19.  
  20. desc
  21. @@
  22.  
  23.  
  24.  
  25. 1.1
  26. log
  27. @Initial revision
  28. @
  29. text
  30. @/**
  31.  *    cantalope.java
  32.  *
  33.  * The main method for the Cantalope
  34.  * Can bus reader
  35.  *
  36.  */
  37.  
  38. import java.lang.*;
  39. import javax.swing.*;
  40. import java.awt.*;
  41. import java.awt.event.*;
  42. //import gnu.io.*;
  43.  
  44. public class cantalope{
  45.  
  46.     public static void main( String argv[] ){
  47.         System.out.println( "Cantalope Running" );
  48.         portControl p = new portControl();
  49.         drawUI U = new drawUI();
  50.         processMessage M = new processMessage();
  51.         handlePortTraffic H = new handlePortTraffic();
  52.         p.openPort();
  53.         U.setSize( 500,500 );
  54.         U.setVisible( true );
  55.         U.addWindowListener( new WindowAdapter() {
  56.             public void WindowClosing( WindowEvent e ){
  57.                 System.exit( 0 );
  58.             };//windowClosing
  59.         }); // windowAdapter
  60.         System.out.println( M.canToHex() );
  61.         H.send();
  62.         H.recieve();
  63.     }
  64.  
  65. }
  66. @
  67.  
  68.  
  69. 1.1.1.1
  70. log
  71. @cantalope
  72. @
  73. text
  74. @@
  75.