Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

public void addNotify()

 
Nicolas Viollin
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello !!
What's the use of this method : public void addNotify()
I really don't know how to use it ??
thnx
 
William Barnes
Ranch Hand
Posts: 1008
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What class is the method on? Once you find the class you can go to the Sun's api page, "http://java.sun.com/products/jdk/1.2/docs/api/index.html", and get a description of the method.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unless you are doing some deep system programming you probable won't need to use that much. That is what you would use to hook up a screen component with the underlying peer on the native side. The classes that Sun provides use this so you rarely need to.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!