• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to dispose an Applet

 
Pankaj Verma
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want to dispose an applet after cerain period of time lets say after 3 min. My applet is nothing but a soft phone dialer if no one dial any number from soft dialer within 3 min i want to dispose that soft dialer applet and create another soft phone with the number already stored in the database.

Thanks in advance.
Pankaj
 
Arto Pastinen
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sleep main thread for 3 minutes after initialization.

If some events happends, wake thread and do job, and then put thread to sleep again.

I something is not happened during 3 minutes, thread just clean applet.
[ March 04, 2005: Message edited by: Arto Pastinen ]
 
Pankaj Verma
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But I want to close the first applet and show second applet.
How to dispose the first applet.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic