Project

General

Profile

Statistics
| Revision:

root / trunk / code / projects / colonet / client / ColonetConstants.java @ 938

History | View | Annotate | Download (978 Bytes)

1

    
2
public class ColonetConstants {
3

    
4
  // Used for painting circles around the robots
5
  public static final int ROBOT_RADIUS = 30;
6
  public static final int STATION_SIZE = 60;
7

    
8
  // Used for the robot controller panel
9
  public static final int VECTOR_CONTROLLER_HEIGHT = 190;
10
  public static final int VECTOR_CONTROLLER_WIDTH = 320;
11
  
12
  // Used for webcam image
13
  public static final int WEBCAM_BORDER = 16;
14
        public static final int BATTERY_WIDTH = 50;
15
        public static final int BATTERY_HEIGHT = 10;
16
        public static final int WEBCAM_DELAY = 500;
17
        public static final String WEBCAM_PATH = "http://128.2.99.176/overhead.jpg";
18

    
19
  // Set the default look and feel - choose one
20
  public static final String LOOK_AND_FEEL = javax.swing.UIManager.getSystemLookAndFeelClassName();
21
  //public static final String LOOK_AND_FEEL = javax.swing.UIManager.getCrossPlatformLookAndFeelClassName();
22
  //public static final String LOOK_AND_FEEL = "com.sun.java.swing.plaf.motif.MotifLookAndFeel";
23

    
24
}