Window function ( final Component arg0 ) { Component loc0 = arg0 . getParent ( ) ; while ( loc0 != null ) { if ( loc0 instanceof Window ) { return ( Window ) loc0 ; } loc0 = loc0 . getParent ( ) ; } return null ; }
a private helper method that locates the window to which the component is currently added . concode_field_sep Rectangle2D area concode_elem_sep Log logger concode_elem_sep Graphics2D graphics concode_elem_sep JPanel contentPane concode_elem_sep Dimension retval concode_elem_sep boolean allowOwnPeer concode_elem_sep Component component concode_elem_sep PainterRunnable runnable concode_elem_sep boolean paintSynchronized concode_elem_sep JFrame peerSupply concode_elem_sep boolean preserveAspectRatio concode_elem_sep DefinedSizeRunnable sizeRunnable concode_elem_sep PreferredSizeRunnable preferredSizeRunnable concode_field_sep void setArea concode_elem_sep boolean isAllowOwnPeer concode_elem_sep void run concode_elem_sep void run concode_elem_sep void run concode_elem_sep void setAllowOwnPeer concode_elem_sep void setComponent concode_elem_sep void draw concode_elem_sep void prepareComponent concode_elem_sep void setPreserveAspectRatio concode_elem_sep Dimension getSize concode_elem_sep Dimension getRetval concode_elem_sep Dimension getRetval concode_elem_sep void cleanUp concode_elem_sep Dimension getPreferredSize concode_elem_sep boolean isPaintSynchronized concode_elem_sep Graphics2D getGraphics concode_elem_sep void setPaintSynchronized concode_elem_sep Component getComponent concode_elem_sep boolean isOwnPeerConnected concode_elem_sep void setGraphics concode_elem_sep Rectangle2D getArea concode_elem_sep boolean isPreserveAspectRatio