void (JComponent component, int x, int y, int w, int h) { // suppress per-cell "moved" and "resized" events on paint // see Component#setBounds, Component#notifyNewBounds AWTAccessor.getComponentAccessor().setLocation(component, x, y); AWTAccessor.getComponentAccessor().setSize(component, w, h); }