Introduction - If you have any usage issues, please Google them yourself
With the help of the canvas class, we
can draw as many as graphics we want
in our application. Similarly we can also
set the different alignment to the text. In
this J2ME Midlet we are going to set the
text at different locations such as right,
left, top right and top left etc.. to set the
alignment we have used
"g.drawString() " and defined different
values in it with the height and width
within it.