How to Get Main output into Common() method in Java?

Java : get color at a point method?

  • i want get the color of a point on panel by passing the coordinates of that point..... no such method is provided in Point class...... is there any other method??? kindly let me know

  • Answer:

    You have to do a screen capture because obviously java on your monitor might be a different size GUI on another OS. From the captured jpg you can get coords and the rgba of the pixel using Robot and a trick. There is like three ways that I have read about. Just google java eyedropper

shruti at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.