Results 1 to 7 of 7
Thread: Parse Data from Java Applet
- 02-26-2011, 05:02 PM #1
Member
- Join Date
- Feb 2011
- Posts
- 4
- Rep Power
- 0
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
- 02-26-2011, 06:51 PM #2
Senior Member
- Join Date
- Mar 2010
- Posts
- 953
- Rep Power
- 4
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-
- 02-26-2011, 08:32 PM #3
Member
- Join Date
- Feb 2011
- Posts
- 4
- Rep Power
- 0
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 helpLast edited by ssh1091; 02-26-2011 at 08:35 PM.
- 02-26-2011, 08:41 PM #4
Senior Member
- Join Date
- Mar 2010
- Posts
- 953
- Rep Power
- 4
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-
- 02-26-2011, 08:59 PM #5
Member
- Join Date
- Feb 2011
- Posts
- 4
- Rep Power
- 0
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.
- 02-26-2011, 09:05 PM #6
Senior Member
- Join Date
- Mar 2010
- Posts
- 953
- Rep Power
- 4
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-
- 02-27-2011, 03:28 AM #7
Member
- Join Date
- Feb 2011
- Posts
- 4
- Rep Power
- 0
Similar Threads
-
How can I parse the data ?
By krr in forum CLDC and MIDPReplies: 5Last Post: 08-21-2010, 03:01 PM -
Using Tokenizer to parse file data--CODE
By Cylab in forum Java SoftwareReplies: 0Last Post: 07-26-2010, 11:48 AM -
Parse log file using java
By mvg in forum Advanced JavaReplies: 0Last Post: 07-03-2009, 11:36 AM -
Parse EDI File Using java
By vaskarbasak in forum Advanced JavaReplies: 6Last Post: 09-24-2008, 02:38 PM -
How to parse an xml file using java
By karthik84 in forum XMLReplies: 4Last Post: 09-12-2008, 09:38 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks