protected void paintComponent(Graphics g) {				
			super.paintComponent(g);
			//If Product Text box is blank
			if(blankText){
				g.setColor(Color.RED);
				g.drawString("Please enter a product",282,80);				
				g.setColor(Color.black);
				blankText = false;
			}
			//If Email id Text box is blank
			if(emailFlag){
				System.out.println("Hello");
				g.setColor(Color.RED);
				g.drawString("Please enter a valid Email Id",282,42);				
				g.setColor(Color.black);
				emailFlag = false;
			}
			//If search succeeds
			if(prodDTO.getErrorMsg()==null){
				if(searchFlag){
						if (prodImg != null) {
							g.drawImage(prodImg, 10, 160, null);
							g.drawString("Brand: "+prodBrand,150,175);
							g.drawString("Product Name: "+prodName,150,190);
							g.drawString("Original Price: "+prodOp,150,205);
							if(Float.parseFloat(prodPercentOff.substring(0, (prodPercentOff.length()-1))) > 0){
								g.setColor(Color.RED);
								g.drawString("Percent Off: "+prodPercentOff,150,220);
								g.drawString("Price: "+prodPrice,150,235);
								g.setColor(Color.BLACK);
							}else{
								g.drawString("Percent Off: "+prodPercentOff,150,220);
								g.drawString("Price: "+prodPrice,150,235);
							}
							g.drawString("URL : "+prodURL,150,250);
							g.setColor(Color.blue);
							g.drawString("Be \"in-the-know\" when this product is on Sale! Simply sign up and we'll notify you.", 80, 145);
						}
					}else {		
						System.out.println("Oops! No Products found");
						g.setColor(Color.blue);
						g.drawString("Oops! No Products found", 150, 160);				
					}
			}else{
				g.setColor(Color.RED);
				g.drawString(prodDTO.getErrorMsg(), 150, 160);
			}
			//Core Value fetch succeeds
			if(coreValueDTO.getName()!=""){
				g.setColor(Color.BLUE);
				//g.setFont(new Font("Sans Serif", Font.BOLD, 13));
				g.drawString("ZAPPOS FAMILY CORE VALUE: "+coreValueDTO.getId()+"."+coreValueDTO.getName(), 10, 440);
				
			}
			//Added to Favorites!
			if(addFavFlg){
				g.setColor(Color.GREEN);
				g.drawString("THANK YOU FOR YOUR NOTIFICATION REQUEST!", 150, 350);
				g.setFont(new Font("Calibri", Font.BOLD, 13));
			}

		}