---- Version History: 1.0 2001-03-08 initial 1.1 2001-03-20 use Exch objects for initialisation. 1.2 2001-12-20 catch missing params 1.3 2002-03-07 error message for unrecognised currency, bad amount. update exchange rates fix bug so now all Applets don't necessarily share same country. 1.4 2002-03-27 list of exchanges comes in serialised form, easier to update daily without a recompile. 1.5 2002-04-01 guess favoured currency. avoids using Currency class which requires JDK 1.4 1.6 2002-04-24 hashtable for country lookup. show=cCN$A, only create widgets needed. display symbol 1.7 2002-05-14 display large numbers in millions. widths made public for com.mindprod.htmlmacros.CurrCon 1.8 2003-11-01 get Bank of Canada Feed. Automatically delete countries without data today. 1.9 2004-07-07 remove rounding for 7 M style display since format has it built-in. 2.0 2005-06-13 add Trillions, Show millions and billions to one decimal point. name all colours 2.1 2005-07-16 set up with standard bat files. ensure compiled under 1.1 under all circumstances 2.2 2005-08-11 convert non-displaying currency signs to general currency. 2.3 2006-01-01 2.4 2006-02-16 change colour scheme. Currency code not so brazen. 2.5 2006-03-04 reformat with IntelliJ. add Javadoc. 2.6 2007-01-29 2.7 2008-01-29 2.8 2008-01-29 get version number is sync with currConAux 2.9 2008-01-30 safer code for Applet instance interaction 3.0 2008-01-31 locks and other means to deal with interApplet fibrillation. 3.1 2008-01-31 volatile and yield to help smooth interApplet fibrillation. 3.2 2008-01-31 avoid shared variable to smooth interApplet fibrillation. 3.3 2008-02-01 use threads and invokeLater to avoid freezes on Linux 3.4 2008-02-15 lower price. 3.5 2008-09-19 allow commas in parameter amount values. 3.6 2010-02-04 new colours to match mindprod style sheet. wider currency code selector to hold KRW 3.7 2010-05-31 add P code that acts like A, but gives precise value. 3.8 2010-06-02 ensure P code prices update when currency changed elsewhere on the page. 3.9 2010-12-04 compress resource. use pure arrays to avoid generics trouble. 4.0 2011-01-21 new format for BOC files, no longer need boccodes.csv 4.1 2011-01-26 switch to iso currency codes, allow multi-char currency symbols. Allow accents in currency names. Flip from JDK 1.1 to 1.5 4.2 2011-02-19 now supports Windows/IE variable resolution. 4.3 2011-05-07 adjust to new Boc Format, URLs and filenames. 4.4 2011-05-18 adjust to new format of Boc exchange rates. Simplify by eliminating currconaux directory. 4.5 2011-12-29 adjust to new format from Bank of Canada. -30-