Package charva.awt.event

Examples of charva.awt.event.SyncEvent


         * (i.e. an instance of this class). The active Window will then call
         * Toolkit.sync() directly. This slight delay speeds up the case where
         * a window opens and then immediately opens a new window (and
         * another...).
         */
        SyncQueue.getInstance().postEvent(new SyncEvent(this));

        if (_dispatchThreadRunning)
            run();
        else {
            _dispatchThreadRunning = true;
View Full Code Here


                 * sync() after the close of a window and again after the
                 * display of a new window which might be displayed immediately
                 * afterwards.
                 */
                if(window != null)
                    SyncQueue.getInstance().postEvent(new SyncEvent(window));
            }
        } // end if WindowEvent

        else if (evt_ instanceof GarbageCollectionEvent) {
            SyncQueue.getInstance().postEvent(evt_);
View Full Code Here

    /** Causes a SyncEvent to be posted onto the AWT queue, thus requesting
     * a refresh of the physical screen.
     */
    public void requestSync() {
  SyncEvent evt = new SyncEvent(this);
  EventQueue queue = Toolkit.getDefaultToolkit().getSystemEventQueue();
  queue.postEvent(evt);
    }
View Full Code Here

TOP

Related Classes of charva.awt.event.SyncEvent

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.