For the past few months I've been working on a Struts application, I'm now working on a purely Java project and find myself a bit lost.
Are there any standards or best practices guides, with examples, that are available online? Something as simple as going from a login screen to a main menu (Do I create a new panel and hide the old one, a new frame entirely, or use the CardLayout?) and other such issues can be a bit confusing when coming from web-centric line of thought.
And are there any recommended tools/plugins I should be using? Eclipse is my IDE of choice.
Sirish Kumar Gongal Reddy
Joined: Oct 25, 2004
Hi Karl Beowulph, I request you one thing is presently iam working on Servlets,jsp and jdbc now i want to learn struts can you suggest me how can i learn in mean while plz let me know some good books for struts which covers example. One more thing is we are using standard editor(Editplus) i want to take a leap to Eclipse can you plz help me out in using Eclipse.(just tell me how to buid a project and how to setup the environment i.e how to include ANT,Log4j and Tomcat server to Eclipse). Hope that you clear my all answers.
As per my knowledge a Good book on swings is Core Java Volume-1 (SUN) which cover detailed swings.
This is a Swing forum. If you want to ask Struts questions start your own in the Struts forum. Please do no hijack threads. Future off topic replies will be deleted.
Unortunately, the kind of documentation you are looking for is hard to find. Everyone wants to tell you how to put a JButton on a JPanel but no one wants to tell you the *best* way to do it. And a lot of it is preference. The end user doesn't really care.
If you are familiar with Swing enough that you can put together an application fairly easily, I'd suggest picking up a copy of Desktop Java Live. It doesn't specifically say "here is the best way to build a gui" however, all of the code examples follow good design principles and practices. The new chapter do out any day now is even on MVC and MVP design patterns. I got to read the chapter ahead of time and it is great. Be sure and buy the EBook from the linked web site so that you get all the future chapters and revisions.
Eclipse is a decent IDE. I prefer IDEA. There have been hundreds of discussions on the prefered IDE for Swing development and you can search this and the IDE forum to locate those. I would suggest that you stay away from GUI Builders or Visual Designers at least until you really know the ins and outs of Swing. Using those to learn with can hender you. [ August 31, 2005: Message edited by: Gregg Bolinger ]