Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to organize a Swing GUI application?
    text
    copied!<p>I've written a few GUI's using Swing and I know about MVC, but I never found a good way to really organize my code somehow. What I am looking for is something like the folder structure that maven introduces for each new project. Another example is rails, where MVC is introduced through the folder structure automatically. Is there something similar for Swing?</p> <p>It would also be nice to see a book that describes the development of a larger Swing Application. All I find are books about design-guidelines where design refers to the look of the application. Other Swing books (like O'Reilly) describe in detail all the swing components, but where is any information about the big picture?</p> <p>Are there any good examples of a swing gui, where you'd say "That's how you organize code/folders/packages for swing!"?</p> <p>EDIT: I found the following site <a href="http://www.ibm.com/developerworks/java/tutorials/j-springswing/section7.html" rel="noreferrer">http://www.ibm.com/developerworks/java/tutorials/j-springswing/section7.html</a> which describes the usage of spring while creating a GUI. It is a quite old example and it doesn't answer my question, but it is a step into the right direction. It also mentions Spring RCP, but I'm not sure if it could be the solution.</p> <p>EDIT2: I still didn't find any better answers. Does anybody know an example for a ideally structured Swing GUI which is Open Source? Does anybody know a book, which describes it? And if not for Swing, then maybe for GUI's in general?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload