Package jsky.util.gui

Examples of jsky.util.gui.PrintPreview$PreviewContainer


                    if (title == null)
                        title = _imageDisplay.getFilename();
                    if (title == null)
                        title = _I18N.getString("printPreview");
                    startPrint(_I18N.getString("preparingImage"));
                    return new PrintPreview(ImagePrintDialog.this, ImagePrintDialog.this, title);
                } catch (Exception e) {
                    return e;
                }
            }

            public void finished() {
                _progressPanel.stop();
                _progressPanel.setTitle(_I18N.getString("printingImage"));
                Object o = getValue();
                if (o instanceof Exception) {
                    DialogUtil.error((Exception) o);
                } else if (o instanceof PrintPreview) {
                    PrintPreview pp = (PrintPreview) o;
                    pp.setVisible(true);
                }
            }
        };
        worker.start();
    }
View Full Code Here

TOP

Related Classes of jsky.util.gui.PrintPreview$PreviewContainer

Copyright © 2018 www.massapicom. 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.