Hello everyone
i want to put canvas in LWUIT Form , i want to draw graph on canvas.
how can i show canvas in Lwuit form?
please help me ?
Hello everyone
i want to put canvas in LWUIT Form , i want to draw graph on canvas.
how can i show canvas in Lwuit form?
please help me ?
You need to put Canvas in LWUIT form, just overwrite the paint method of the LWUIT form itself to draw graph on it.
thanks,
~Amitabh
Sorry, I dont have ready codelet for it.
But can give you a pointer to it.
In LWUIT, ref to API guide, paint method of com.sun.lwuit.Form
If you know the logic of painting the graph on pure J2me Canvas, use the same logic and override the paint method in your LWUIT form class where you want the graph to be displayed.
thanks,
~Amitabh
PS: LWUIT form provided will the facility of override almost all the methods which is uses from native Canvas.
Hello everyone
i get the solution for drawing line.string,rectangle etc... on from ,but not using canvas ,just check this forums post:-http://discussion.forum.nokia.com/fo...d.php?t=197031
Thanks and Regards