/* */ }
/* */
/* */ public void paint(Graphics paramGraphics)
/* */ {
/* 641 */ if ((isValid()) && (this.qtcHelper != null)) {
/* 642 */ QDGraphics localQDGraphics = null;
/* 643 */ Region localRegion = null;
/* */ try
/* */ {
/* 646 */ if ((QTSession.isCurrentOS(1)) || (QTSession.isCurrentOS(4))) {
/* 647 */ localQDGraphics = getPort();
/* 648 */ localRegion = localQDGraphics.getClip();
/* 649 */ localQDGraphics.clipRect();
/* */ }
/* 651 */ if ((this.movie != null) || (this.graphicsImporter != null) || (this.grabber != null)) {
/* 652 */ this.qtcHelper.doSetBounds();
/* 653 */ if (!this.qtcHelper.getGWorld().equals(QDGraphics.scratch)) {
/* 654 */ QTUtils.checkFreeMemory();
/* 655 */ this.qtcHelper.redraw(null);
/* 656 */ } else if (isShowing()) {
/* 657 */ QTUtils.checkFreeMemory();
/* 658 */ this.qtcHelper.redraw(null);
/* */ }
/* */ }
/* */ } catch (QTException localQTException) {
/* */ }
/* */ finally {
/* 664 */ if ((localQDGraphics != null) && (localRegion != null))
/* 665 */ localQDGraphics.setClip(localRegion);
/* */ }
/* */ } else {
/* 668 */ doParentLayout();
/* 669 */ repaint();
/* */ }