Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

awt container listeners

 
kurian chacko
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
componentAdded(ContainerEvent)
componentRemoved(ContainerEvent)
What is the function of these two methods present in the container listener interface...under what circumstances can i use these two methods in any jfc application/applet app.
 
pete stein
Bartender
Posts: 1561
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no pro on this, but common sense tells me that these methods will be called whenever components are added or removed respectively from the container that you're listening to.
 
Rob Camick
Ranch Hand
Posts: 2475
8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I second common sense.
 
Campbell Ritchie
Sheriff
Pie
Posts: 47258
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you read the documentation, you can verify whether common sense was correct
 
kurian chacko
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks a ton for your common sense stuff for all you people....

The doc was handy for meeeeeeeee. It was pure common sense but i dont know how i forgot about the docs, but i always use the docs.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic