Skip to main content

How to draw on canvas and lwuit?

Please note these forums are being decommissioned and use the new and improved forums at
1 reply [Last post]
Joined: 2010-04-21

Dear Guys,

I developed an app on lwuit 1.3 and I want to draw somthing on canvas when the user press on a button, I mix core J2ME with lwuit (Forms developed on LWUIT, and Canvases extended J2ME canvas) on showing canvas I'm using

javax.microedition.lcdui.Display.getDisplay(mIDlet).setCurrent(new MyCanvas());

Is this a correct way or there are other ways to draw on canvas using LWUIT?

Kind Regards,

Mohammad Abu Hmead

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2010-04-21

So sorry.

I found the solution.

Sadly I can't delete this post