static void setWindowBounds(final int x, final int y, final int w, final int h, final Component c) swing { var window = getWindow(c); if (window != null) window.setBounds(x, y, w, h); }