public void click(MouseButton button, int numClicks, List<ModifierPressed> modifiers) {
systemInputManager.click(getCenterLocation(), button, numClicks, modifiers);
}
protected Point getCenterLocation() {
DesktopWindowRect rect = getRect();
Point topLeft = getLocation();
//Point center = new Point(topLeft.x + rect.getWidth() / 2, topLeft.y + rect.getHeight() / 2);
return new Point(topLeft.x + rect.getWidth() / 2, topLeft.y + rect.getHeight() / 2);
}