public static CustomButton doHistoryViewButton() {

		final CustomButton a = new CustomButton("show my history");
		a.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent arg0) {
				JFrame searchResultFrame = new JFrame("my history");
				searchResultFrame.setSize(1300, 650);
				searchResultFrame.setVisible(true);
				searchResultFrame
						.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
				JScrollPanelledPane tickerScroll = new JScrollPanelledPane();
				searchResultFrame.add(tickerScroll);

				ArrayList<String> bundle = new ArrayList<String>();
				for (String ticker : EarningsTest.programSettings.myHistory
						.values()) {

					CustomButton tickerButton = JComponentFactory
							.doIndividualTickerButtonForPanel(bundle, ticker,
									a.getText(), searchResultFrame,
									NON_EARNINGS_REPORT);
					// tickerButton.setBackground(new
					// Color(100,140,255));
					if (tickerButton != null) {
						tickerButton.setMinimumSize(new Dimension(300, 45));
						tickerScroll.addComp((tickerButton));
					}
				}
				doStatInfoForBundleVsMarket(new ArrayList<String>(
						EarningsTest.programSettings.myPortfolio.keySet()));

			}

		});
		return a;
	}