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.
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.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
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.
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!
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.`