Results 1 to 7 of 7
  1. #1
    ssh1091 is offline Member
    Join Date
    Feb 2011
    Posts
    4
    Rep Power
    0

    Default Parse Data from Java Applet

    Hi, I was wondering if there is any method I could look into to extract data from a java applet?

    The text I want is sent through drawstring and is at static x-y cordinates.

    I know I can write a script and then use OCR but that is not an elegant solution. (But I might have to turn too if I cannot figure it out)

    Is there a better way? If so could you point me in a direction where I can get started? I will google the rest.

    --Also if you are a freelance programmer, shoot me your price. This is a relativily small simple program so it might be worth a moment of your time.

    Thank you guys

  2. #2
    gcalvin is offline Senior Member
    Join Date
    Mar 2010
    Posts
    952
    Rep Power
    5

    Default

    Is it your applet, or a third party's? Is it hosted on a resource that you control? How does the data get to the applet in the first place?

    -Gary-

  3. #3
    ssh1091 is offline Member
    Join Date
    Feb 2011
    Posts
    4
    Rep Power
    0

    Default

    It is a third party applet so I have no access to the data feed.

    I have already emailed the website and asked them if I could get or buy access to the feed but they said something I couldn't quite understand about licensing. Their email was very poorly written so I don't know if i should just ask again and hope I get a different rep.

    I will only be using this program for personal use so I am not worried copyright (is that the right word?) violations.

    The website is bigcharts.com and the java applet is from their interactive charts.

    Before I buy any stock I get three criteria. Doing this takes quite a bit of time when I check multiple stocks. I figure if I get the data I'm just a couple (if) loops away from automating my thought process. This could potentially save an hour a day, thats a lot of time that adds up.

    Thank you for your help
    Last edited by ssh1091; 02-26-2011 at 09:35 PM.

  4. #4
    gcalvin is offline Senior Member
    Join Date
    Mar 2010
    Posts
    952
    Rep Power
    5

    Default

    Well, that web site says that they get their data from Thomson Reuters. You could try to get your own feed from them, but I doubt they're interested in selling to individuals. Seems like OCR is all you have left, and even that might be considered a violation of their terms of service.

    -Gary-

  5. #5
    ssh1091 is offline Member
    Join Date
    Feb 2011
    Posts
    4
    Rep Power
    0

    Default

    so you are not aware of any better ways?

    I cannot just access the memory, manually change the values of the x,y mouse cursor and read the string?

    I am not worried about the terms of service.

  6. #6
    gcalvin is offline Senior Member
    Join Date
    Mar 2010
    Posts
    952
    Rep Power
    5

    Default

    I would think it would be easier to sniff the network traffic coming to your browser, since the site doesn't seem to be SSL. But that's outside the scope of a Java forum, of course.

    -Gary-

  7. #7
    ssh1091 is offline Member
    Join Date
    Feb 2011
    Posts
    4
    Rep Power
    0

    Default

    thanks for your recommendation gcalvin.

    I appreciate your time and expertise.

Similar Threads

  1. How can I parse the data ?
    By krr in forum CLDC and MIDP
    Replies: 5
    Last Post: 08-21-2010, 04:01 PM
  2. Using Tokenizer to parse file data--CODE
    By Cylab in forum Java Software
    Replies: 0
    Last Post: 07-26-2010, 12:48 PM
  3. Parse log file using java
    By mvg in forum Advanced Java
    Replies: 0
    Last Post: 07-03-2009, 12:36 PM
  4. Parse EDI File Using java
    By vaskarbasak in forum Advanced Java
    Replies: 6
    Last Post: 09-24-2008, 03:38 PM
  5. How to parse an xml file using java
    By karthik84 in forum XML
    Replies: 4
    Last Post: 09-12-2008, 10:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •