Hi am a J2EE developer very interested in learning and working with Swing. Any advice on where i should begin. I find the swing presentation layer a bit confusing.
I would highly recommend Desktop Java Live by Scott Delap also. http://www.sourcebeat.com/TitleAction.do?id=10
Once you get through the basics of how a Swing component works, this will help put it all together.
Thanks to everyone for your positive feedback. I have allways been a big fan of Swing ever since my college days but never really got to work with it since J2EE is the money maker these days.
Am excited about new technologies like JWS. Do you see JWS catching on? So far most people I know in the industry don't use it and are not even considering it.
The link to the visual index of swing components is a good place to get information on an ongiong basis:
Other than that, there's a book by John Zukowski - "The Definitive Guide to Java Swing" - that's also pretty good.
Ben Galbraith is a brialliant resource for threading in Swing. Here's a url to one of his presentations:
Listen to him. He's pretty brilliant.
I've always preferred Swing to any of the web-oriented technologies. Mostly I hook my Swing apps into the J2EE stack via a JNDI lookup of a JDBC datasource or a JMS destination.
Good luck to you!
One of the biggest challenges coming from J2EE to Swing is that with most J2EE programming, threading issues are handled for you by the container. With Swing programming, you'll need to program for thread saftey yourself. This is the issue I see more J2EE developers get wrong when programming user interfaces. It's not too much of a burden, but you do need to be aware of threading issues and thread safety (like making sure you don't block the EDT, and UI component manipulation happens on the Swing thread).
Since J2EE is also a lot more poupular for enterprise applications is learning Swing a good investment?
This is a good site to visit for swing info. It gives good basic and intermediate examples.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.