wood burning stoves
The moose likes Beginning Java and the fly likes public void addNotify() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "public void addNotify()" Watch "public void addNotify()" New topic

public void addNotify()

Nicolas Viollin

Joined: Apr 13, 2001
Posts: 26
Hello !!
What's the use of this method : public void addNotify()
I really don't know how to use it ??
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 986

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.

Please ignore post, I have no idea what I am talking about.
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
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.

"JavaRanch, where the deer and the Certified play" - David O'Meara
I agree. Here's the link: http://aspose.com/file-tools
subject: public void addNotify()
It's not a secret anymore!