I want to get a number on a website for inclusion in the JFrame . How to get the coordinates of that number on that site and get the value of that number?
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.
I want to get a number on a website for inclusion in the JFrame . How to get the coordinates of that number on that site and get the value of that number?
Read the source of the webpage and parse out the number as appropriate
http://www.javaprogrammingforums.com...bsite-url.html
For example, flash website, how it can get string to bring up the JFrame. I think to scan images on it.
Thanhks for your help!
I don't understand the question...or know if there was a question. Break the problem down and ask one specific question at a time, otherwise we are left to guess which is unproductive for everyone. If you want to get something from a webpage, follow the advice I posted above. If you want to display html in java, use a JEditorPane or JavaFx
Are you looking to extract a String from a Flash based website? I have no idea how you would do that!
It's not as simple as parsing a String from the websites source.
Please use [highlight=Java] code [/highlight] tags when posting your code.
Forum Tip: Add to peoples reputation by clicking the button on their useful posts.
i had a result in google -> read text from images in java. Now, i want read text from flash on coordinate area.
If i had a flash file on the website
Thanks for your help!
Last edited by tuanvu_n; July 19th, 2011 at 11:32 AM.
That's not a String, it looks like an image containing some text. Looking at the pixels of an image to recognize "text" is very hard.