static void setLocation(final Component c, final int x, final int y) { if (c != null) swing { c.setLocation(x, y); } }