< prev index next >
src/java.desktop/unix/classes/sun/awt/X11/XWindow.java
Print this page
@@ -1006,17 +1006,14 @@
}
// if ( Check if it's a resize, a move, or a stacking order change )
// {
Rectangle bounds = getBounds();
- final ComponentAccessor acc = AWTAccessor.getComponentAccessor();
if (!bounds.getSize().equals(oldBounds.getSize())) {
- acc.setSize(target, bounds.width, bounds.height);
postEventToEventQueue(new ComponentEvent(getEventSource(), ComponentEvent.COMPONENT_RESIZED));
}
if (!bounds.getLocation().equals(oldBounds.getLocation())) {
- acc.setLocation(target, bounds.x, bounds.y);
postEventToEventQueue(new ComponentEvent(getEventSource(), ComponentEvent.COMPONENT_MOVED));
}
// }
}
< prev index next >