The Artima Developer Community
Sponsored Link

Java Answers Forum
is it possible to copy dynamic data from applet

3 replies on 1 page. Most recent reply: Apr 10, 2002 3:10 AM by Thomas SMETS

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 3 replies on 1 page
johnson

Posts: 1
Nickname: javapal
Registered: Apr, 2002

is it possible to copy dynamic data from applet Posted: Apr 9, 2002 10:44 AM
Reply to this message Reply
Advertisement
Is it possible to copy the live data displayed on an applet like a stock quote in any way --love to hear from anyone who can help me out.

Thnaks in advance


Thomas SMETS

Posts: 307
Nickname: tsmets
Registered: Apr, 2002

Re: is it possible to copy dynamic data from applet Posted: Apr 9, 2002 1:37 PM
Reply to this message Reply
Just read it like via an HTTP request or keep a Socket open ! That will do !

Just make you StockQuote Object Serializable & the content of it will be pushed by the server to the Applet. The Applet just need to read from the socket the new Object & display it properly / accordingly.

Thomas,

Matt Gerrans

Posts: 1153
Nickname: matt
Registered: Feb, 2002

Re: is it possible to copy dynamic data from applet Posted: Apr 9, 2002 4:10 PM
Reply to this message Reply
I think he is asking from a user point of view, not a programmer point of view, how to copy from a stock-quote program.

If that is the question, I think you are out of luck, unless the writer of the applet has implemented copy features or is using standard swing controls which do. For instance, if they are showing a list in a list box, you can't usually select items in a list box and copy them to the clipboard, unless the person writing the program has added that facility. However, if there is text in a text field or text area, you will probally be able to copy it.

However, from what I've seen of stock-quote applets, you probably are out of luck. In fact, a lot of sites offer stock quotes as a kind of anti-web service, that is, they want you to view it from their site, with their tools, but they don't want other web sites gleaning and displaying their data. Maybe, when web services are more mature and have a billing model built in, this model will be less common (but not free, unfortunately).

Thomas SMETS

Posts: 307
Nickname: tsmets
Registered: Apr, 2002

Re: is it possible to copy dynamic data from applet Posted: Apr 10, 2002 3:10 AM
Reply to this message Reply
I believe you are right Matt.
I was too technologically orientated @ how & not what...

Thomas,

Flat View: This topic has 3 replies on 1 page
Topic: VERY URGENT - Unix Commands in java Previous Topic   Next Topic Topic: Seeking Application Resource Info...

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use