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.

Results 1 to 7 of 7

Thread: Scan the value of an object?

  1. #1
    Junior Member
    Join Date
    Mar 2011
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Scan the value of an object?

    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?


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: Scan the value of an object?

    Read the source of the webpage and parse out the number as appropriate
    http://www.javaprogrammingforums.com...bsite-url.html

  3. #3
    Junior Member
    Join Date
    Mar 2011
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Scan the value of an object?

    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!

  4. #4
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: Scan the value of an object?

    Quote Originally Posted by tuanvu_n View Post
    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

  5. #5
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 294 Times in 227 Posts
    Blog Entries
    4

    Default Re: Scan the value of an object?

    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.

  6. #6
    Junior Member
    Join Date
    Mar 2011
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Scan the value of an object?

    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.

  7. #7
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Scan the value of an object?

    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.

Similar Threads

  1. Calling from one javabean object to other javabean object in a single class
    By kichkich in forum What's Wrong With My Code?
    Replies: 2
    Last Post: June 24th, 2011, 07:20 AM
  2. Reading from ResultSet to Object and from object Object Array
    By anmaston in forum What's Wrong With My Code?
    Replies: 4
    Last Post: April 7th, 2011, 06:11 AM
  3. name=scan.nextLine();
    By Amro in forum What's Wrong With My Code?
    Replies: 2
    Last Post: November 12th, 2010, 07:01 AM
  4. 2D Object makes my object smaller, Why?
    By MassiveResponse in forum What's Wrong With My Code?
    Replies: 2
    Last Post: May 15th, 2010, 02:33 PM
  5. Object o = new Object(); need help
    By zeeshanmirza in forum Object Oriented Programming
    Replies: 11
    Last Post: January 6th, 2010, 10:01 PM