swing - How can we create more than one instance of a class from single Java class file? -


i have requirement says have create once class file of 1 java swing application , reuse them create multiple instance of same application.

one way comes mind store class file , create instances files whenever required.

but correct way? there other efficient way create instance of applications using class created once , stored somewhere?

also there additional desing constraint says should use parts of class files in creating more 1 application.

i have create once class file of 1 java swing application

compile swing application's java source files class files (this needs done once)

and reuse them create multiple instance of same application.

run same class files in different virtual machines instances (sequentially, or simultaneously)

.. or have got wrong? :)


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -