Virtual Position Forum
Please register to watch content in detail
Thanks
Admin virtual position


Join the forum, it's quick and easy

Virtual Position Forum
Please register to watch content in detail
Thanks
Admin virtual position
Virtual Position Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

java documentation

View previous topic View next topic Go down

GMT + 3 Hours java documentation

Post by Diya Sun May 29, 2011 4:11 pm

Sir i have download jdk and jdk documentation but dont know how i can use it and do documentation.kindly solve my probelem
Diya
Diya
Monstars
Monstars

Taurus Goat
Posts : 364
Join date : 2011-02-08
Age : 33
Notworthy

Character sheet
Experience:
java documentation Left_bar_bleue10/500java documentation Empty_bar_bleue  (10/500)

Back to top Go down

GMT + 3 Hours Re: java documentation

Post by Vuhelper Sun May 29, 2011 4:12 pm

Here are the couple of guide lines on using the java documentation.



1) You may or may not know exactly what you need. Determine in general what you need your code to do and look through the API for something that sounds like it may be able to do what you want. For example, if you need the user to be able to click something in your GUI you might look for something like "button". You could scroll down until you came to "JButton" and you might want to check it out, sounds like it could be what you were looking for! This step could be long and grueling, but it's pretty much just how you have to learn it. Wish it were easier.



2) If you could find the class you needed in the last step, all you have to do is look through for the methods from it you might need. This page shows quite a few other helpful things like classes it extends (if a class is imported it also imports the methods of all classes it extends) and implements. For example, in the case above supplying the JButton class with a parameter "String text" could be nice to know if you want to label the button.
avatar
Vuhelper
Deep Bench
Deep Bench

Posts : 97
Join date : 2011-05-29

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum