-
-
Save seyedsahil/3fb6052f686f32ee5aac92760a9b065f to your computer and use it in GitHub Desktop.
Creating an Observer instance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.sydlabz.mvc; | |
import java.util.Observer; | |
import java.util.Observable; | |
public class MessageListener implements Observer { | |
@Override | |
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