Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to update the state of Singleton object is their any method to do so

843789Apr 27 2010 — edited May 13 2010
I 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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 10 2010
Added on Apr 27 2010
26 comments
701 views