Starting Java, searching for anwsers, main sources

Hi, everybody. I'm really new to Java, but I have some (not too much, really) skill programming; I use mostly Visual Basic.

Well, one of the things I like to do is to have several information resources. For example, those who know VB (or Microsof) know that there is something called MSDN, which is a huge recompilation of information, given by Microsoft, describing Visual Basic (or whatever you are using) elements, controls, events, etc. In other words, it's a hell of a manual for a programmer, it contains almost everything, all properties about everything, etc.

My question is: is there something similar to this but for Java? For example, I was trying to find the uses for Swing (because I was trying to use a tree menu) and I couln't find much. So... what do you regulary do to find information about what does what and how? What are the best places to look out for?

In my oppinion, the forums are one of the best places to share information, you really learn a lot. But when I have a question, I prefer to dry all my sources and then go to the forum. I'm really new to Java, so I would like to hear your oppinion. =)

Thanks.

[1170 byte] By [Fhwoaranga] at [2007-11-27 8:29:12]
# 1

I've worked with the MSDN while programming in c#, and I love and hate it.

At your point, I'd recommend that you check out the java docs:

http://java.sun.com/javase/6/docs/api/

and the sun tutorials:

http://java.sun.com/docs/books/tutorial/

These both will give you plenty to chew on for now.

petes1234a at 2007-7-12 20:19:26 > top of Java-index,Java Essentials,New To Java...
# 2

Thanks, dude.

BTW, Visual Basic also has an interesting feautre in its IDE. When I do a right click on word or something in the code, it gives me the option to get the definition or declaration of the word I used. For example, if I do right click on "if",it takes you to the MSDN and gives you a description of what is "if".

I use Net Beans (not that I really use it too much), and it has something similar. When I go for the "See Javadoc" option, it says that it can't find it, and when I try to generate it, it says that it can't.

Also.. what are the best ways to debug in Java?

Thanks a lot.

Fhwoaranga at 2007-7-12 20:19:26 > top of Java-index,Java Essentials,New To Java...
# 3

> I use Net Beans (not that I really use it too much),

> and it has something similar. When I go for the "See

> Javadoc" option, it says that it can't find it, and

> when I try to generate it, it says that it can't.

I can't help you there. I use Eclipse not Netbeans. I do know (or think I know) that with Eclipse you can get a similar functionality, but it only works (for me anyway) if you set the compiler to java 1.5. It hasn't worked for me with java 1.6, but I think that that is either an Eclipse issue or my handling of Eclipse issue, and not a java issue.

> Also.. what are the best ways to debug in Java?

The best that I know of is to use the debuggers that come with netbeans or eclipse. Again, I use eclipse and have been very happy with it.

petes1234a at 2007-7-12 20:19:26 > top of Java-index,Java Essentials,New To Java...