I created a MIDlet and I created a canvas sub class and used paint method to draw on the screen.
Now I want to transfer the control back from the Canvas Subclass to the MIDlet.( For closing my MIDlet).
I created the following classes,
a MIDlet class,
a Canvas subclass.(to draw)
Please help me.