how to update the state of Singleton object is their any method to do so
843789Apr 27 2010 — edited May 13 2010I am using singleton design pattern in Swing GUI.
but due to single object when i accept user input such as Phone no.
in JTextField it remains as I move from different JFrames
although I clear the The TextField with setText("")
method but it wont work.