public void actionPerformed(ActionEvent E) {
		//Prints the currently selected panels
		if(E.getSource() == print) {
			//Get the currently selected tab panel and send it to bufferedImage
			BufferedImage image = getScreenShot(tab.getSelectedComponent());
			new SundialPrinter(image);
			

		}
		
		//Saves the two Panels as PNG in the project directory
		if(E.getSource() == save) {
		   //To be Implemented
			try {
				getSaveSnapShot(this.gnomon, "gnomon.png");
				getSaveSnapShot(this.dial, "dial.png");
			} catch (Exception e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		}
		//Closes the program
		if(E.getSource() == exit) {
			System.exit(0);
		}
	}