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