@ Override protected void preparePaintComponent ( final Request request ) { super . preparePaintComponent ( request ) ; WComponent visibleDialog = getVisible ( ) ; if ( visibleDialog != null ) { visibleDialog . preparePaint ( request ) ; } }
Since none of the children are visible to standard processing preparePaintComponent has been overridden so that the visible card is prepared .