posted 19 years ago
Hi all.
My Data class is a singleton, there is a private constructor with one parameter and getInstance() method as following code:
In Sun's instructions, a user can put a database file's name via a GUI. When my application gets the database name, how can I push it into Data class, because my constructor can not be invoked direcly.
Thank you.
Surasak Lee