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

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -