开发者

Is there any framework/tool that we can use to create Java Swing application as module based? [closed]

Closed. This quest开发者_开发知识库ion does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 4 years ago.

Improve this question

We want to make our current Java Swing application as module based so that it can be loaded from configuration files.

Is there any framework/tool that helps in making our application as module based? I mean big components like JTextPane, JTable we can make as a module and load them wheneven required.


The Spring Framework may help. The following article has details: Spring: How to Create Decoupled Swing Components

You can also check out the spring-richclient project.


Modules is a design term. Create well designed application and call groups of classes "modules". You can pack your modules in separate jar file and then put them into classpath as your wish. This will give you some flexibility.

You can use injection framework like Spring or Guice. This allow you to decouple your components.


You can make use of JGoodies along with Google Guice.

Google Guice will give you the ability to break up your application in modules.

I like using JGoodies as it is easy to use and doesn't have a big dependancy list.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜