helloi have make a mini game as with the coding belowi have only 2 classes..MIDlet and canvasi wish to make a timer which limit the game time to 30 seci have done some coding but end up failure...can any please help me?thank you in advance

ps.formatTime is my first work.. n the public void run is my second..but both are not working

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org