Java Swing application design in a way to create multiple instances of application by creating all objects only once -


we have 1 java swing app. there 1 requirement should created in multiple desktops in 1 machine/computer. creating different instances of main java swing app different desktops/monitors same cpu/machine in linux can have different desktop in 1 os @ same time.

design constraints:

we need create 1 app instance , need utilize/store objects of app , use them create different instance of main app

its looks need create pool of objects of main swing app , use them create others correct way? there other efficient way achieve it?

this kind of design question creating new java swing app different desktops.

you can use builder pattern here , think.based on requirement render different desktop ui components (set of features), if features not dynamic in nature.


Comments

Popular posts from this blog

400 Bad Request on Apache/PHP AddHandler wrapper -

Add email recipient to all new Trac tickets -

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