design - Can we reuse Java Swing application components in other instances of same application? -
we have java swing application contains components jtable, jcombobox, jtextarea , lots of other swing components.
now there requirement says need create multiple screens/copy of same java swing applications. e.g. if main java swing application x have create same applications a,b,c,d,... same x.
so here there obvious design constraints should not create x applications many times. should create once , utilize them create other apps a,b,c,d....
there problem here these a,b,c... applications may or may not subsets of x. means having less swing components x.
there 1 way store class files , create app swing components how reuse them? can store them?
this kind of design question. ideas..
i think best can is, design application in way can plug things in , out. so, plugin/module kind of architecture best suits here. can design components module based, if application needs install plugin, if doesn't need don't install it, if doesn't need now, uninstall it. our ides, netbeans, eclipse, intellij.
as swing application, recommend looking netbeans platform.
Comments
Post a Comment