addObserver Method
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Observable.addObserver Method

Visual Studio 2005

Adds an observer to the Observable object, if it is not already in the list.

Package: java.util

Assembly: vjslib (in vjslib.dll)

public synchronized void addObserver(
    java.util.Observer o);



The Observer object to be added.

See the example on Observable.
© 2016 Microsoft