StocksMonitor
StocksMonitor is intended as an example Swing application, from which beginning
and intermediate java programmers may learn some useful techniques.
All source code is freely available at www.javapractices.com, and consists
of about 80 classes.
This help system is not meant for discussion of java techniques. These
are discussed at www.javapractices.com, where in addition to the source
code, there is a section on Swing whose examples borrow heavily from this
application.
Summary of the services provided by StocksMonitor :
-
fetch current stock prices periodically from the web (using Yahoo as data
source), and present the data in a table (this is the main service)
-
save sets of stocks as a single portfolio
-
edit portfolio contents
-
filter and sort table rows
-
present portfolio totals
-
export and import portfolios
-
change "theme", which affects the look-and-feel (especially useful for
low vision users)
-
display object heap size in the About dialog
-
refresh logging configuration file
-
set various preferences
The tool set used to build StocksMonitor includes :
-
JDK 1.7.0
-
Ant for build scripts
-
JUnit for unit testing
-
JavaHelp for this help system