protected static ComponentDropLocation.Direction directionFromKey(final int keyCode) {
    return switch (keyCode) {
      case KeyEvent.VK_RIGHT, KeyEvent.VK_END -> ComponentDropLocation.Direction.RIGHT;
      case KeyEvent.VK_LEFT, KeyEvent.VK_HOME -> ComponentDropLocation.Direction.LEFT;
      case KeyEvent.VK_UP, KeyEvent.VK_PAGE_UP -> ComponentDropLocation.Direction.UP;
      case KeyEvent.VK_DOWN, KeyEvent.VK_PAGE_DOWN -> ComponentDropLocation.Direction.DOWN;
      default -> null;
    };
  }
protected static ComponentDropLocation.Direction directionFromKey(final int keyCode)