@Override
	public void actionPerformed(ActionEvent e) {
		if(e.getSource() == Main.whisper){
			whisperFrame.setLocationRelativeTo(null);
			whisperFrame.setVisible(true);
		}else if(e.getSource() == Main.generalNotes){
			genNoteFrame.setLocationRelativeTo(null);
			genNoteFrame.setVisible(true);
		}else if(e.getSource() == Main.update){
			UpdateHandler.check(Main.progVers, false);
		} else if(e.getSource() == Main.info){
			// for copying style
			JLabel label = new JLabel();
			Font font = label.getFont();
			
			// create some css from the label's font
			StringBuffer style = new StringBuffer("font-family:" + font.getFamily() + ";");
			style.append("font-weight:" + (font.isBold() ? "bold" : "normal") + ";");
			style.append("font-size:" + font.getSize() + "pt;");
			
			final JEditorPane ep = new JEditorPane("text/html", "<html><body style=\"" + style + "\">"
					+ "Report issues <a href=\"http://github.com/Coolway99/ToS_Forum_Mafia_Note_Taker/issues\">here</a><br /><br />"
					+ "Newest version can be found manually <a href=\"http://github.com/Coolway99/ToS_Forum_Mafia_Note_Taker/releases\">here</a><br />"
					+ "Email:<a href=\"mailto:xxcoolwayxx@gmail.com\" >xxcoolwayxx@gmail.com</a><br /><br />"
					+ "Copy-whatever 2014 Coolway99<br />"
					+ "Licenced under the GNU v2"
					+ "</body></html>");
			ep.addHyperlinkListener(new HyperlinkListener()
			{
				@Override
				public void hyperlinkUpdate(HyperlinkEvent e){
					if (e.getEventType().equals(HyperlinkEvent.EventType.ACTIVATED)){
						try {
							Desktop.getDesktop().browse(e.getURL().toURI());
						} catch (IOException | URISyntaxException e1) {
							e1.printStackTrace();
							JOptionPane.showMessageDialog(Main.frame, "Error opening link", "ERROR", JOptionPane.ERROR_MESSAGE);
						}
					}
				}
			});
			ep.setEditable(false);
			ep.setBackground(label.getBackground());
			JOptionPane.showMessageDialog(Main.frame, ep, "Contact Info",
					JOptionPane.INFORMATION_MESSAGE);
		} else if(e.getSource() == Main.help){
			JOptionPane.showMessageDialog(Main.frame, "Make sure to RIGHT CLICK the notes/playerlist/rolelist\n"
					+ "Also remember to resize the window if it is too small", "Help", JOptionPane.INFORMATION_MESSAGE);
		}
	}