@Override
  public void setBrush(int type) {
    switch(type) {
      case 0: System.out.println("Change the brush to line"); break;
      case 1: System.out.println("Change the brush to curve"); break;
      case 2: System.out.println("Change the brush to rectangle"); break;
      case 3: System.out.println("Change the brush to oval"); break;
      case 4: System.out.println("Change the brush to triangle"); break;
    }
  }