[Advanced-java] OT window refresh question
Steve Roy
sroy at mac.com
Tue Apr 15 14:35:50 2003
xwang@qtechservices.com (Alvin Wang) wrote:
> Whenever there are any changes, I need to update a cell (one option,
> including bid/ask/last, their size/exchange, theoretical fair value,
> greeks....), a row (all the options for a strike), a column (all the options
> for the an expiry) or the whole table(all the options for a stock). the
> trader insists to see them all and as fast as possible.
That's an interesting problem. The Swing approach of concatenating refresh
events might be getting in the way of what you're trying to accomplish, not
mentioning that Swing is not thread-safe, meaning you have to resort to
SwingUtilities.invokeLater() and whatnot.
It's unfortunate that this list is not conducive to constructive debate.
Is source code available for your app? How big is it?
Steve
--
Steve Roy <sroy@mac.com>
Personal homepage: <http://homepage.mac.com/sroy>
Projects homepage: <http://www.roydesign.net>