aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Help needed Its urgent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Help needed Its urgent" Watch "Help needed Its urgent" New topic
Author

Help needed Its urgent

Nik Arora
Ranch Hand

Joined: Apr 26, 2007
Posts: 652
Hi All,
Can anybody tell me which is the best book for swings or where can i find the stuff of developing gui applications in swings. Please help.




Thanks
Nik
Darrin Cartwright
Ranch Hand

Joined: Dec 27, 2002
Posts: 107
Check out the list here.


Life is good on the Ponderosa,<br />but mind where you step.
Nik Arora
Ranch Hand

Joined: Apr 26, 2007
Posts: 652
Hi Darrin,
I am confused about which i have to buy among them. I know a bit of swings not much familiar and i have to develop a game from that concepts.So which would you prefer.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41508
    
  53
i have to develop a game from that concepts.


From which concepts? What kind of game would this be? Depending on that the parts of Swing which you might end up using could be very different.


Ping & DNS - my free Android networking tools app
Kaydell Leavitt
Ranch Hand

Joined: Nov 18, 2006
Posts: 689

I found Sun's Swing Tutorial using Google and searching for the phrase "Swing Tutorial":

Sun's Swing Tutorial

The above link can get you started learning Swing now. Also, the whole JavaDoc for the Java SE 5.0 is at the following link:

Java SE 5.0 API

I like to use this link online to search Sun's JavaDoc API since I can search it using Google. For example, if I want to quickly find the page on JFrame, I can use Google in my toolbar and type:

JFrame site:http://java.sun.com/j2se/1.5.0/docs/api/

Or, if you don't have a fast, always-on connection to the Internet, the JavaDoc API documentation comes with the Java SDK and should be on your hard drive somewhere.

I like to have books in addition to the online documentation. I'm using: "The Definitive Guuide to Java Swing" 3rd edition, ISBN: 1-59059-447-9. This book covers Swing in Java SE version 5.0. The good thing about this book is that it specializes in Swing and it is up-to-date.

I also have an older book that is still useful. It doesn't cost much either. It's called "Core JFC" 2nd edition. It covers Java SE version 3.0 (also known as 1.3). 0-13-090581-X. JFC means Swing, AWT, and Java 2D. So if you're search for material on building user-interfaces for desktop applications, using Swing, JFC is a synonym for Swing. Even though this book isn't as up-to-date, it covers some things better than "The Definitive Guide To Swing".

Kaydell
Nik Arora
Ranch Hand

Joined: Apr 26, 2007
Posts: 652
Hi Ulf,
Depending on that the parts of Swing which you might end up using could be very different.



I didnt get what you said?


Regards
Nik
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41508
    
  53
Ulf:

Depending on that the parts of Swing which you might end up using could be very different.

Nik:

I didnt get what you said?


What that means is that the APIs you'd need for coding a shoot-em-up game are different from the APIs needed for coding a board game. That's why I asked what type of game it is supposed to be.
Nik Arora
Ranch Hand

Joined: Apr 26, 2007
Posts: 652
hi ulf,
Will it be good to use api's that are for broad games to develop a medium sized or small game.I dont know much about this please help.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41508
    
  53
Java does not have game-specific APIs, if that's what you're asking. I'm not sure what you mean by "broad" games, or small and medium-sized games.

I think you should decide what game you want to implement first. Then it makes sense to think about the design of the code and implementation decisions.
Nik Arora
Ranch Hand

Joined: Apr 26, 2007
Posts: 652
Hi ulf,
Its just like a pin-ball game.
Darrin Cartwright
Ranch Hand

Joined: Dec 27, 2002
Posts: 107
Hi again Nik,

Programming a "pin-ball" type game in Java is more about the graphics than the Swing toolkit. But don't get me wrong, you still need to know about Swing!
Take a look at the Java bindings for OpenGL site here. It's designed for 3D games, but there are references to additional resources.
There is a link to the Java Games community site (undergoing some changes right now), as well as tutorials, etc... This should get you started in the right direction.
If you want a more complete view, check out this book on Amazon.
[ May 24, 2007: Message edited by: Darrin Cartwright ]
Nik Arora
Ranch Hand

Joined: Apr 26, 2007
Posts: 652
Thanks Everybody for help
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Help needed Its urgent