• Post Reply Bookmark Topic Watch Topic
  • New Topic

Calculating applet laoding time  RSS feed

 
Surya Kant
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Can anyone help me in finding applet loading time.I tried putting it in init() nethod.But in Vain.Please help me.

Thanks & regards
Surya
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How exactly do you define "applet loading time"? From what point in time to what point in time?
 
Surya Kant
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Applet Loading Time" - starts when init() method is called and ends when it is visible to the user.
Actually i got the timing by keeping time in paint method of applet.But it will go for a toss if user selects some other window or minimizes the window which contains applet.
Can anyone help me?
 
ujjwal soni
Ranch Hand
Posts: 405
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The time is calculated from init method to the final UI when it gets displayed on the user's screen.

Regards,

Ujjwal
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!