public void updateText(){
	// Set up hot stocks label
    	String color;
		String expensiveText = "<html> <h1 align='center'>Expensive Stocks</h1>";
		LinkedList<Stock> hotties = market.getExpensiveStocks(5);
		Stock st;
		for (int i = 0; i < 5; i++){
		    st = hotties.get(i);
		    if (st.getPercentChange() > 0)
			color = "green";
		    else
			color = "red";
		    expensiveText += "<h3 align='center' style='color:" + color + "'>" + st.getTicker() + " : " + st.getPrice() + "$ " + st.getPercentChange() +"% </h3>";
		}
		expensiveText += "</html>";
		expensiveStocks.setText(expensiveText);
	
	
		// Cold stocks
		String cheapText = "<html> <h1 align='center'>Cheap Stocks</h1>";
		LinkedList<Stock> weakies = market.getCheapestStocks(5);
		for (int i = 0; i < 5; i++){
		    st = weakies.get(i);
		    if (st.getPercentChange() > 0)
			color = "green";
		    else
			color = "red";
		    cheapText += "<h3 align='center' style='color:" + color + "'>" + st.getTicker() + " : " + st.getPrice() + "$ " + st.getPercentChange() + "%  </h3>";
		    }
		cheapText += "</h3></html>";
		cheapStocks.setText(cheapText);
	
	
		// News
		String newsText = "<html><h1 align='center';> NEWS </h1>"; // add the text to the news panel
		LinkedList<News> oldNews = market.getOldNews();
		for (int i = 0; i < oldNews.size(); i++){
		    int num = i+1;
		    newsText += "<h3 align='center'>" + num + ") " + oldNews.get(i).getInfo() + "</h3";
		}
		newsText += "</html>";
		news.setText(newsText);
	
		// Portfolio
		String portText = "<html> <h1 align='center'>Portfolio</h1>";
		LinkedList<StockPosition> portfolio = user.getPortfolio();
		StockPosition s;
		for (int i = 0; i < portfolio.size(); i++){
		    s = portfolio.get(i);
		    String name = s.getTicker();
		    st = market.getStockTicker(name); // stock itself
		    int num = s.getNumShares();
		    double value = num * st.getPrice();
		    value = (double)(Math.round(value * 100)) / 100; 
		    portText += "<h3 align='center'>" + name + ": " + num + " shares worth $" + value + "</h3>"; } 

		if (user.getReturns() >= 0)
		    color = "green";
		else
		    color = "red";

		portText += "<br><br><h4 align='center' style='color:" + color + "'>$" + user.getMoney() + " available</h3>"; 
		portText += "<h4 align='center'> You had $" + user.getOriginalMoney() + " originally </html>";
		
		myPort.setText(portText);

		// Goldberg and Sacs Index update
		String gsText = "<html> <h1 align='center'>Goldberg Saacs Index</h1> <h3 align='center'>$" + 
		    market.getIndexVal() + "</h3><h5 align='center'> Aggregate value of the Goldberg Saac's market </h5></html>";
		gsIndex.setText(gsText);
    }