public static void corner(Component comp, final byte CORNER)
  {
    screenOffset();
    Rectangle DEST;
    switch (CORNER)
    {
      default:
      case TOP_LEFT:
        DEST = new Rectangle(offset,
                                      0,
                                      (int) comp.getSize().getWidth(),
                                      (int) comp.getSize().getHeight());
        break;
      case TOP_RIGHT:
        DEST = new Rectangle((int) ((noOffset ? screenBounds : maxWinBounds).getWidth() - comp.getSize().getWidth())
                                      + offset,
                                      0,
                                      (int) comp.getSize().getWidth(),
                                      (int) comp.getSize().getHeight());
        break;
      case BOTTOM_RIGHT:
        DEST = new Rectangle((int) ((noOffset ? screenBounds : maxWinBounds).getWidth() - comp.getSize().getWidth())
                                      + offset,
                                      (int) ((noOffset ? screenBounds : maxWinBounds).getHeight() - comp.getSize().getHeight()),
                                      (int) comp.getSize().getWidth(),
                                      (int) comp.getSize().getHeight());
        break;
      case BOTTOM_LEFT:
        DEST = new Rectangle(offset,
                                      (int) ((noOffset ? screenBounds : maxWinBounds).getHeight() - comp.getSize().getHeight()),
                                      (int) comp.getSize().getWidth(),
                                      (int) comp.getSize().getHeight());
        break;
    }
    location(comp, DEST);
//    System.out.println("snapped to " + DEST + ".");
  }