Examples of dispose()


Examples of com.lightcrafts.image.libs.LCTIFFWriter.dispose()

            writer.putMetadata( metadata );
            writer.putImageStriped( image, thread );
            // TODO: allow users to write tiled TIFFs if they want
            // writer.putImageTiled( image, thread );
            writer.dispose();
        }
        catch ( LCImageLibException e ) {
            final IOException ioe = new IOException( "TIFF export failed" );
            ioe.initCause( e );
            throw ioe;
View Full Code Here

Examples of com.lightcrafts.image.libs.OutputStreamImageDataReceiver.dispose()

            catch (LCImageLibException e) {
                logNonFatalStatic(file, e, "caching preview");
                cache.remove(key);
            }
            out.close();
            receiver.dispose();
        }
        catch (IOException e) {
            logNonFatalStatic(file, e, "caching preview");
            removeCacheSilentStatic(cache, file);
        }
View Full Code Here

Examples of com.lightcrafts.mediax.jai.PlanarImage.dispose()

            } catch(Exception e) {
                // Ignore it.
            }
        } else {
            // Invoke dispose() directly.
            src.dispose();
        }
    }
}
View Full Code Here

Examples of com.lightcrafts.mediax.jai.RenderedOp.dispose()

            params.add(interp);
            RenderedOp scaled = JAI.create("Affine", params, formatHints);

            g.drawRenderedImage(scaled, new AffineTransform());

            scaled.dispose();
        }

        g.setClip(oldClip);
    }
View Full Code Here

Examples of com.lightcrafts.platform.PrinterLayer.dispose()

    public PrintLayoutModel(int width, int height) {
        PrinterLayer printer = Platform.getPlatform().getPrinterLayer();
        printer.initialize();
        pageFormat = printer.getPageFormat();
        printer.dispose();

        listeners = new LinkedList<PrintLayoutModelListener>();

        pixelsPerInch = 300;
View Full Code Here

Examples of com.lightcrafts.ui.editor.Document.dispose()

                    DocumentWriter.export(engine, export, Progress);
                    outFile = export.getExportFile();
                    outName = outFile.getName();
                }

                doc.dispose();

                logEnd(LOCALE.get("BatchLogSavedMessage", outName));

                Image.setFile(outFile);
View Full Code Here

Examples of com.lightcrafts.ui.print.PrintLayoutDialog.dispose()

        );
        // Hook up behaviors for the dialog buttons:
        dialog.addCancelAction(
            new ActionListener() {
                public void actionPerformed(ActionEvent event) {
                    dialog.dispose();
                    if (callback != null)
                        callback.done();
                }
            }
        );
View Full Code Here

Examples of com.lowagie.text.pdf.PdfGraphics2D.dispose()

            renderer.setRendererHints(rendererParams);

            Envelope dataArea = mapContext.getAreaOfInterest();

            if (this.abortRequested) {
                graphic.dispose();
                // step 5: we close the document
                document.close();

                return;
            }
View Full Code Here

Examples of com.lti.civil.CaptureStream.dispose()

    for (int j = 0; j < formatList.size(); j++)
    {
      formats[j] = net.sf.fmj.media.protocol.civil.DataSource.convertCivilFormat(formatList.get(j));
    }
    captureStream.dispose();

    return formats;
  }
}
View Full Code Here

Examples of com.lti.civil.CaptureSystem.dispose()

      }
          player.start();
     
    }
     
    system.dispose();
  }

}
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.