out.println("Listed below are your current holdings and their value
"); out.println(""); out.println(""); out.println("
"); out.println(""); out.println(" "); out.println(" "); out.println(" "); out.println(" "); out.println(" "); out.println(" "); out.println(" "); for(int i=0; i"); Holdings hold = (Holdings) dumpPlace.elementAt(i); Profit = hold.getLast() * hold.getnumShares(); Total += hold.getLast() * hold.getnumShares(); out.println(""); } Total += Balance; out.println(""); out.println(""); out.println(""); if (vTag == 1) { out.println(""); out.println(""); out.println(""); } out.println(""); out.println("
SymbolNumber of SharesCurrent ValueNet Worth
" + hold.getSymbol() + "" + hold.getnumShares() + "" + curFormat.format(hold.getLast()) + "" + curFormat.format(Profit) + "
"); out.println("
Balance
"); out.println("
" + curFormat.format(Balance) + "
"); out.println("
Total Net Worth
"); out.println("
" + curFormat.format(Total) + "
"); out.println("
");