home *** CD-ROM | disk | FTP | other *** search
/ Internet 1996 World Exposition / park.org.s3.amazonaws.com.7z / park.org.s3.amazonaws.com / Java / LEDSign / LED / Index.java < prev    next >
Encoding:
Java Source  |  2017-09-21  |  1.3 KB  |  50 lines

  1. /////////////////////////////////////////////////////////////////////
  2. //  Index.java   -- LED Sign V2.5
  3. //  
  4. //  This is just a small class used for a struct
  5. //
  6. //  Revisions:
  7. //     V2.5: Fixed all known bugs in previous versions!  Added
  8. //           the new feature of ledsize, which allows the user
  9. //           to specify in pixels how big the LED's (1-4).
  10. //           Thanks to Robert B. Denny (rdenny@dc3.com) for
  11. //           code and input!
  12. //           Modified Dec 20-26, 1995
  13. //
  14. //     V2.0beta: Modified V1.0 to comply with Pre-Beta java.
  15. //               A problem with delay causes a jerky display.
  16. //               Modified Oct 20 - 29, 1995
  17. //
  18. //     V1.0: Written July 13 - 14, 1995
  19. //
  20. //  By Darrick Brown
  21. //     dbrown@cs.hope.edu
  22. //     http://www.cs.hope.edu/~dbrown/
  23. //
  24. //  ⌐ Copyright 1995
  25. /////////////////////////////////////////////////////////////////////
  26.  
  27. /*package LED;*/
  28.  
  29. import java.awt.*;
  30. import java.io.*;
  31. import java.net.*;
  32.  
  33.  
  34. //////////////////////////////////////////////////////////////////
  35. // The Index Class (struct)
  36. //////////////////////////////////////////////////////////////////
  37. public class Index
  38. {
  39.    public byte ch;
  40.    public int width;
  41.    public boolean letter[][];
  42.  
  43.    Index(byte b, int w, int h)
  44.    {
  45.       letter = new boolean[w][h];
  46.       width = w;
  47.       ch = b;
  48.    }
  49. }
  50.