This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Advise me a book about Swing  RSS feed

 
Vladimir Bezugliy
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could anyone advise me a good book about Swing?

Now I look at 3 books:
- O'Reilly � Java Swing, Second Edition (By Brian Cole, Robert Eckstein, James Elliott, Marc Loy, David Wood)
- Manning � Up to Speed with Swing, Second Edition
- Manning � Swing, Second Edition (MATTHEW ROBINSON, PAVEL VOROBIEV)

But I think that first book is the best from these 3 books.
Am I right?
Or there is a much good book in the world?
If yes, could you give me the name, please?
 
Joe Ess
Bartender
Posts: 9406
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The O'Reilly is the only one I have. Between that and the Java Tutorial Swing Chapter I can pretty much figure everything out.
 
Rick Gentry
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I learned almost everything I know about Java out of an O'Reilly book and the sun docs. I'd suggest the O'Reilly book. It might not be the absolute best possible choice in the world, but it's close enough to it.
 
omar bili
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
if you know java you don't need a book to learn swing,
just use any tool like JBuilder or netBeans and within a short period of time, u'll learn how to write code that shows swing components.
Bili
 
Nigel Browne
Ranch Hand
Posts: 703
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by omar bili:
Hi,
if you know java you don't need a book to learn swing,
just use any tool like JBuilder or netBeans and within a short period of time, u'll learn how to write code that shows swing components.
Bili


No offence, Omar but Swing isn't that easy to master.
 
Pat Hays
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by omar bili:
Hi,
if you know java you don't need a book to learn swing,
just use any tool like JBuilder or netBeans and within a short period of time, u'll learn how to write code that shows swing components.
Bili

I guarantee that JFrameBuilder is the best tool to learn swing.
 
Nigel Browne
Ranch Hand
Posts: 703
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Pat Hays:

I guarantee that JFrameBuilder is the best tool to learn swing.


I just took a look at the auto-generated code which this product creates. Since Java 1.4 it has been recommended that for thread safety the creation of Swing GUI's should be invoked from the event-dispatching thread. JFrameBuilder doesn't create code that does this.
Also as everything is written to one class file there is no separation of the view from the controller, it is a design choice I know, but for large projects or projects that have multiple views highly recommended.
The best way to learn swing is to read books, tutorials and the api's and then write some code. Then write some more code and then some more.
IDE's are good and I personally wouldn't code without one but they do not teach.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!