View RSS Feed

Recent Blogs Posts

  1. Transforming Shapes, Text, and Images

    by , 03-04-2012 at 05:48 PM
    One can do the modification of the graphic attributes so that for performing these graphic primitives in graphic 2D context.
    • Move
    • Scale
    • Rotate
    • Shear

    Transform attribute is defined by the instance of class AffineTransform. Parallel lines are found to be parallel no matter if the transformation has been done in affine transformation.

    Graphics 2D class provides number of methods to change the transform attribute. Graphic2Dtransform can be changed by calling ...
    Tags: images, shapes, text Add / Edit Tags
  2. SWT Text

    by , 11-10-2011 at 07:12 PM (My Java Tips)
    Text is a selectable user interface objects that allow the user to enter and modify text. Events associated with Text are: DefaultSelection, Modify, Verify. Different Text styles are CENTER, LEFT, MULTI, PASSWORD, SINGLE, RIGHT, READ_ONLY, WRAP. Please note that only one of the styles MULTI and SINGLE may be specified.

    The following are the important constructors of Text class.

    Text(Composite parent, int style)
    Constructs a new instance of this class given its ...