Ok, I'm just starting out with Java and even borrowed some books from the library and stuff and everything was all clear since I actually had to write the 'Hello Java' program. Namely, these books tell me that i should write the well-known 'hello java' script to some kind of text editor, then compile it, then run it and voila - enjoy. So I started to look what's inside my OS X and found developer tools. I intalled it, tried several programs to compile the stuff, failed and then found XCode. I chose new file, java (or something) and was pretty happy 'cause at last i could write the freakin' script. But when i finished, the 'compile' command was as inactive as it is possible to be! So why is it so ? Anyway I gave up, ran help and found out that new project would be much better choice to begin with a new program. But when i did it (chose a new project from the file menu) it showed me several options like Swing and many, many more that I can't recall at the moment. So what are they??? Which one should I choose and why ? And now the most disturbing matter. When i finally chose something that made absolutely no sense to me as none of those borrowed books had covered them (yet?), the computer created several files which already had scripts inside?!? Plus, there were many folders loaded with stuff inside that i did't expect to discover in the first place??? So here's my simple question: What the hell is going on??? Please help me, 'cause I'm really tired being such an ignorant fool and I don't want to ask those stupid questions any more.
Thanks in advance,
Juhani
PS. Maybe the problem is also with the books which (perhaps) expect me to use that freakin' Windows and don't tell me the stuff i need to know when using Mac. Isn't there any good Java book for beginners that also covers OS X? It was really strange and stupid that the library at Univerity of Glasgow didn't comprise almost any book related with Macs.
Thanks in advance,
Juhani
PS. Maybe the problem is also with the books which (perhaps) expect me to use that freakin' Windows and don't tell me the stuff i need to know when using Mac. Isn't there any good Java book for beginners that also covers OS X? It was really strange and stupid that the library at Univerity of Glasgow didn't comprise almost any book related with Macs.