Package org.eclipse.swt.widgets

Examples of org.eclipse.swt.widgets.Control.update()


            //capture the an image of the "from" view
            Control from    = transitionable.getControl(lastItem);
            Rectangle size  = from.getBounds();
            Image imgFrom   = new Image(from.getDisplay(), size.width, size.height);
            GC gcfrom       = new GC(from);
            from.update();
            gcfrom.copyArea(imgFrom, 0, 0);
            gcfrom.dispose();
           
            //capture an image of the "to" view
            Control to  = transitionable.getControl(currentItem);
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.