Patent ID: 7571388

Claim:
A computer-readable storage medium, comprising: a first software component, implementing in Java Swing, adapted to create a graphical representation of an object embodied as code within the software component, wherein the code comprises text and other displayable content; an application program running under an operating system; and a second software component adapted for drawing the text, wherein the first software component is invoked during runtime by the application program to define visual attributes of the text, but not to draw the text, and wherein the second software component is invoked to draw the text using the visual attributes; a lightweight peer component, that borrows resources from a platform specific ancestor, adapted for redirecting a memory call to invoke text drawing methods of the second software component rather than text drawing methods of the first software component; and wherein the first software component is used for drawing the graphical representation of the object on the display screen, and wherein the second software component is used for drawing the text upon the graphical representation of the object.