Skip to content

Instantly share code, notes, and snippets.

Last active March 8, 2020 17:27
What would you like to do?
Creating an Observer instance
package org.sydlabz.mvc;
import java.util.Observer;
import java.util.Observable;
public class MessageListener implements Observer {
public void update(Observable messageQueue, Object prameters) {
// Handle the state change here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment