用java.util.Observable实现Observer模式 http://blog.csdn.net/dada360778512/article/details/6977758 http://blog.csdn.net/luoweifu/article/details/45702135