stockWatcher tutorial error

1 view
Skip to first unread message

Angel Marquez

unread,
Nov 3, 2009, 12:08:57 AM11/3/09
to google-we...@googlegroups.com
This line of code:
prices[i] = new StockPrice(stocks.get(i), price, change);

in the refreshWatchlist() method is giving me an error.

Any ideas?

Please see attached screen shots.

ty,
-a
sw0.png
sw.png

Taimur Mirxa

unread,
Nov 3, 2009, 12:51:02 AM11/3/09
to google-we...@googlegroups.com
Can you attach the source code?
--
Warm Regards,

Taimur Mirza

[To predict the behavior of ordinary people in advance, you only have to assume that they will always try to escape a disagreeable situation with the smallest possible expenditure of intelligence.  - Friedrich Nietzsche]

Angel Marquez

unread,
Nov 3, 2009, 12:58:19 AM11/3/09
to google-we...@googlegroups.com
attached.

thank you.
StockWatcher.java

Taimur Mirxa

unread,
Nov 3, 2009, 2:21:25 AM11/3/09
to google-we...@googlegroups.com
Hi,

I have imported the StockWatcher class you attached in the email. it has missing StockPrice class. If you follow the complete code tutorial for stockwatcher application. it would run without any exception. even I have developed by following the tutorial.

for your help StockPrice class if available at  http://code.google.com/webtoolkit/tutorials/1.6/codeclient.html

Angel Marquez

unread,
Nov 3, 2009, 5:30:29 PM11/3/09
to google-we...@googlegroups.com
Hi Tamuir,
You were absolutely correct. I had the StockPrice class in place; but, there was a typo on my behalf in the package statement. Now I can move forward : )

Appreciate the help.

Thank you,
Angel 
Reply all
Reply to author
Forward
0 new messages