Best resources for developing swing applications in java and eclipse [closed]
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 7 years ago.
开发者_开发技巧 Improve this questionMy boss would like me to debug an open-source java application written in swing, and has suggested the eclipse IDE. I have picked up Eclipse IDE, read it, and am working on reading Headfirst Design Patterns.
I'm well on my way, but would like to ask you what resources(books, websites, pluggins) are best for de-bugging java swing applications in eclipse.Hands down, the easiest way to make your swing program easy to debug is to get rid of swing.
I shouldn't say it like that. I love swing. I'm just saying if you can't do EVERYTHING your program does from the command line instead of your gui, you're going to have a hard time debugging it.
Where you can, refactor the code so that it's easy to call it from a command line, passing in the arguments like that, and then you can debug the individual components as you go.
Once they are working to your satisfaction, then the swing part is just a matter of hooking up the gui to the backend.
This pattern is part of what is often called MVC.
精彩评论