code: @Override
      public void render(Graphic g)
      {
          if (model.isSelecting())
          {
              final Area selectionArea = model.getSelectionArea();
              final int x = (int) viewer.getViewpointX(selectionArea.getX());
              final int w = selectionArea.getWidth();
              int y = (int) viewer.getViewpointY(model.getSelectRawY());
              int h = (int) model.getSelectRawH();
              if (h < 0)
              {
                  y += h;
                  h = -h;
              }
              if (y < 0)
              {
                  h += y;
                  y = 0;
              }
              if (w > 0 && h > 0)
              {
                  g.setColor(colorSelection);
                  g.drawRect(x, y, w, h, false);
              }
          }
      }
docs: /*
  Displayable