Examples of QTRuntimeException


Examples of quicktime.QTRuntimeException

/* 237 */     if (this.canv == null) return;
/*     */
/* 240 */     this.offscreenImage = this.canv.createImage(this.mSize.width, this.mSize.height);
/*     */
/* 242 */     if (this.offscreenImage == null) {
/* 243 */       QTRuntimeException.handleOrThrow(new QTRuntimeException("must have a valid offscreen image"), this.canv, "createImage");
/* 244 */       return;
/*     */     }
/* 246 */     if (this.singleFrameFlag == 6) {
/* 247 */       this.offscreenGraphics = this.offscreenImage.getGraphics();
/*     */     }
/*     */     try
/*     */     {
/* 251 */       ImageDescription localImageDescription = ImageDescription.getJavaDefaultPixelDescription(this.mSize.width, this.mSize.height);
/* 252 */       this.iData = new IntEncodedImage(this.mSize.width * this.mSize.height);
/*     */
/* 254 */       localImageDescription.setDataSize(this.iData.getSize());
/*     */
/* 256 */       this.image.setImageData(this.iData, localImageDescription);
/* 257 */       this.painter.newSizeNotified(this, this.mSize);
/* 258 */       if ((this.painter instanceof JImagePainter))
/* 259 */         ((JImagePainter)this.painter).prepareImage(this.canv);
/* 260 */       prepaint();
/* 261 */       if ((!this.interruptedGrab) && (isSingleFrame()))
/* 262 */         doSingleFrame();
/*     */     }
/*     */     catch (QTException localQTException) {
/* 265 */       QTRuntimeException.handleOrThrow(new QTRuntimeException(localQTException), this, "addedTo");
/*     */     }
/*     */   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.