This week's book giveaway is in the Agile forum.
We're giving away four copies of Head First Agile and have Andrew Stellman & Jennifer Greene on-line!
See this thread for details.
Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JApplet -- Pls help!!  RSS feed

 
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!