I am developing an app in Java ME using Netbeans IDE, where I'm creating 3 Forms which contains Button
, Command
(OK and back) and Image
in the 1st Form
.
Using OK Command
I can transfer the control to the 2nd form. This works
In 2nd Form
I have 2 Command
OK and Back. On click of OK it should go to the 3rd Form
. On click of back it should return to the 1st Form
.
When I am in the 2nd Form
, I'm neither able to transfer to the 3rd nor to the 1st Form
.
I am getting the following exception.............
java.lang.OutOfMemoryError
(stack trace incomplete) An exception occurred during transition paint this might be valid in case of a resize in the middle of a transition
Please help me out. Thanks in advance