Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: A general question about online help

  1. #1
    Junior Member
    Join Date
    Jun 2013
    Thanked 0 Times in 0 Posts

    Default A general question about online help

    Is there a website where I can paste a line of job code into a box and get a response back for what the code means? For example if I wanted to know what this meant "SampleAction(String text, Icon icon)" Thank you.

  2. #2
    Grand Poobah
    Join Date
    Mar 2011
    My Mood
    Thanked 167 Times in 158 Posts

    Default Re: A general question about online help

    SampleAction is the name of a method and it has two parameters: a String and an Icon. Any basic Java textbook or tutorial should have provided you this information.

    Note: the method should be called sampleAction.
    Improving the world one idiot at a time!

  3. #3
    Super Moderator
    Join Date
    Jun 2013
    So. Maryland, USA
    My Mood
    Thanked 698 Times in 680 Posts

    Default Re: A general question about online help

    I'm not aware of a website that does what you've asked. However, Google (or your favorite search engine) would be the next best thing. The type of information you need to know is contained in the program's API. Oracle is the keeper of Java's API, so if you want to know about System.out.println(), you'd Google "java system," and the top 5 to 10 results will be either links to Oracle's API pages, API pages maintained by the class' owner or 3rd parties, or tutorials that cover the use of Java's System class. If you need help reading API pages, you should ask questions, but practice is the best way to acquire that skill.

    SampleAction() could also be a constructor for the class SampleAction, but I suggest starting off your searches broad, narrowing as needed to get the right results. I'd start with the search "java sampleaction" and go from there.`

Similar Threads

  1. General question about Interfaces
    By michael.duffy31 in forum Java Native Interface
    Replies: 5
    Last Post: June 30th, 2013, 02:44 PM
  2. General Question; Need Ideas
    By clydefrog in forum Java Theory & Questions
    Replies: 2
    Last Post: March 28th, 2012, 04:42 PM
  3. General Question
    By Becca in forum Collections and Generics
    Replies: 6
    Last Post: November 3rd, 2011, 03:52 PM
  4. Just a general Java related question
    By javaisfun in forum Java Theory & Questions
    Replies: 3
    Last Post: October 25th, 2011, 07:21 AM
  5. Newbie: general question on trying to get a simple Pokemon game to work
    By willmer in forum Object Oriented Programming
    Replies: 7
    Last Post: July 13th, 2011, 07:33 AM