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