< prev index next >

src/java.desktop/unix/classes/sun/awt/X11/XWindow.java

Print this page

        

*** 1006,1022 **** } // 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)); } // } } --- 1006,1019 ----
< prev index next >