Examples of DuplicateAttachmentException


Examples of xenon3d.scene.DuplicateAttachmentException

    /**
     * Attaches the specified Canvas3D object to the main application window.
     * @param canvas the Canvas3D to attach
     */
    public synchronized void attachCanvas(Canvas3D canvas) {
        if (this.canvas != null) throw new DuplicateAttachmentException(ERR_CANVAS_ALREADY_ATTACHED);
        canvas.addNotify(frame);
        this.canvas = canvas;
    }
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.