Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / July 2005

Tip: Looking for answers? Try searching our database.

Screen scrape an applet?

Thread view: 
Dan Stumpus - 26 Jul 2005 22:14 GMT
Can anyone give me a pointer or ideas on how I could capture the screen
output from an applet (such as a stock quote ticker) which refreshes
periodically?

Thanks,  Dan
Andrew Thompson - 26 Jul 2005 22:34 GMT
> Can anyone give me a pointer or ideas on how I could capture the screen
> output from an applet (such as a stock quote ticker) which refreshes
> periodically?

Why the screen output?  Surely it would be better to get
at the textual information.  ..The information supplier
being in full compliance with this, will probably provide
an API.

Signature

Andrew Thompson
physci.org 1point1c.org javasaver.com lensescapes.com athompson.info
When You See The Robot, Drink!

Ingo R. Homann - 27 Jul 2005 07:27 GMT
Hi Dan,

> Can anyone give me a pointer or ideas on how I could capture the screen
> output from an applet (such as a stock quote ticker) which refreshes
> periodically?

Maybe, the class java.awt.Robot will help you. Note that this is not
available in old Java versions which may cause problems when using in an
applet.

Ciao,
Ingo
Andrew Thompson - 27 Jul 2005 09:20 GMT
> Hi Dan,
>
[quoted text clipped - 5 lines]
> available in old Java versions which may cause problems when using in an
> applet.

Note also that an applet would need to be signed to invoke
most of the Robot methods of interest.

Signature

Andrew Thompson
physci.org 1point1c.org javasaver.com lensescapes.com athompson.info
Mr Bender's Wardrobe By ROBOTANY 500

Dan Stumpus - 27 Jul 2005 20:31 GMT
Andrew and Ingo,

Thanks for your comments.

I'll look at both approaches.

--  Dan
Thomas Hawtin - 30 Jul 2005 15:26 GMT
>> Can anyone give me a pointer or ideas on how I could capture the
>> screen output from an applet (such as a stock quote ticker) which
[quoted text clipped - 3 lines]
> available in old Java versions which may cause problems when using in an
> applet.

If you're trying to scrape the information, rather than just bitmaps,
from a third party applet I'd suggest feeding it a custom Graphics2D
object. Probably straight through it's update method.

Tom Hawtin
Signature

Unemployed English Java programmer
http://jroller.com/page/tackline/



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.