Objects that subclass the Observable class maintain a list of observers. When an Observable object is updated it invokes the update() method of each of its observers to notify the observers that it has changed state. The Observer interface is implemented by objects that observe Observable objects.
Friday, April 18, 2008
How are Observer and Observable used?
Subscribe to:
Post Comments (Atom)
Archives
-
▼
2008
(23)
-
▼
April
(9)
- Is null a keyword?
- What's new with the stop(), suspend() and resume()...
- Can a lock be acquired on a class?
- What is synchronization and why is it important?
- How are Observer and Observable used?
- Why do threads block on I/O?
- which containers use a border Layout as their defa...
- what is a transient variable?
- JAVA
-
▼
April
(9)
No comments:
Post a Comment