Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java question

 
Joel Kriss
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, is there any website have a lots of sample code and eg. to download. I'm quite new to JAVA cos no sticky threads for this.

& also how can I do a simple buttongroup with captions?
 
Balasubramanian Chandrasekaran
Ranch Hand
Posts: 215
Firefox Browser Linux VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Joel Kriss:
Hi, is there any website have a lots of sample code and eg. to download. I'm quite new to JAVA cos no sticky threads for this.

& also how can I do a simple buttongroup with captions?


How about this one.Check out
JAVA NOTES
 
Campbell Ritchie
Sheriff
Pie
Posts: 48968
60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Apart from the fact that they seem to put everything in the main method, which I don't like at all, one of the most comprehensive repositories of Java code for beginner is the Jata� tutorial.
 
Raghavan Muthu
Ranch Hand
Posts: 3381
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would suggest these links.

  • Java2s - http://java2s.com/ -> You get all examples by categories along with the samples screenshots for output!
  • JavaBat - http://javabat.com/ -> Here also based on categories, you can edit and test it online. Very good i feel.
  • Previously, JavaAlamanac - http://www.exampledepot.com/ -> You will get all examples based on API or concepts whatever you choose!


  • Good luck
     
    Raghavan Muthu
    Ranch Hand
    Posts: 3381
    Mac MySQL Database Tomcat Server
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Originally posted by Joel Kriss:


    & also how can I do a simple buttongroup with captions?


    With respect to what you asked? Swing? Applet? I would suggest better mention it clearly what you require. Also the title of the thread.

    If required, you can create a separate thread per request/question so that it will be easy to track.

    As campbell said, i also would recommend you to type yourself by referring to the API and studying the concepts and prepare your own examples to the max. extent possible! Way to go....
     
    Danish Sualeh
    Greenhorn
    Posts: 11
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Also you might want to check out www.krugle.com
    Its a code search engine
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic