• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JApplet -- Pls help!!

 
Sajee Joseph
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
I have a JApplet embedded in an HTML page. The Applet contains several controls like buttons and a JTree. Now when i minimize the browser window and then maximize it again, id like to call a spectal method to rebuild the tree. I have the method, but how do i detect that the browser window was activated again( i mean maximised from minimized state). I cant use the paint method, because my method to rebuild will call paint. Thus it will end in an infinite loop.
Please help me out
Regards
Saj
[This message has been edited by Sajee Joseph (edited November 09, 2001).]
 
Tom Bigford
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Saj - You can use the start method of JApplet (at least for minimize/restore ...
stop will be called on minimize and start will be called on restore.
HTH - Tom
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic