WhiteBoard Using RMI
WSU CEG 7370 WhiteBoard Using Java RMI
LineCoords.java
Go to the documentation of this file.
1 // @file: LineCoords.java by pmateti@wright.edu
2 
3 package WhiteBoard;
4 
5 public class LineCoords implements java.io.Serializable {
6  int x1, y1, x2, y2; // the two end points of a line
7  java.awt.Color c;
8 
9  public String toString() {
10  return "(" + x1 + ", " + y1 + ", " + x2 + ", " + y2 + ", " + c + ")" ;
11  }
12 }
13 
14 // -eof-
Copyright © 2014 www.wright.edu/~pmateti;   thanks to doxygen