View RSS Feed

My Java Tips

  1. SWT Canvas

    by , 11-10-2011 at 06:47 PM (My Java Tips)
    Canvas provide a surface for drawing arbitrary graphics. It supports no styles and events. This is a subclass of class Composite.


    This class may be subclassed by custom control implementors who are building controls that are not constructed from aggregates of other controls. That is, they are either painted using SWT graphics calls or are handled by native methods.

    The following are the important constructors of Canvas class.

    Canvas(Composite parent, ...
    Tags: canvas, swt Add / Edit Tags
    Categories
    SWT / JFace