Skip to main content

A little help please - Javadocks - Swing

3 replies [Last post]
triz
Offline
Joined: 2007-10-27

Okay, so I am quite new to Java...

I have this 'java book for dummies' and whatnot and it tells me I can find Javadocs... Yea... well I am quite confused on what to get... lol...

Then I also read that Swing is good for GUI's... But yet I search for swing it is not a downloadable program?

Can someone clear these up for me and point me in the right direction?

Thanks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
hvieten
Offline
Joined: 2004-11-05

Okay, Javadoc ist a program which generates API documentation (in HTML) from the source (if there are comments in a special format). You can browse or download the documentation of Java and Java3D following these links:
http://java.sun.com/reference/api/ (choose your version)
https://java3d.dev.java.net/binary-builds.html (below "API Documentation & Utils")

When you browse the Java API docs, you may notice that there's a package called javax.swing. This is the package which contains the Swing classes and interfaces. If you're using Netbeans, there's a GUI editor for Swing which makes things a bit easier. To answer your question: No, Swing is not an executable program, it's just a collection of classes and interfaces which can be used to build a GUI.

triz
Offline
Joined: 2007-10-27

Thanks man.

Java has been all too confusing for me but I am finally starting to understand it

Thank you very much :)

hvieten
Offline
Joined: 2004-11-05

In that case you should invest some time into getting familiar with the concepts of object-oriented programming languages. I assume this is the first time you deal with one of them?