public void eventPosted(TimeflecksEvent t)
	{
		if (t.equals(TimeflecksEvent.GENERAL_REFRESH))
		{
			GlobalLogger.getLogger().logp(Level.INFO, "MainWindow",
					"eventPosted",
					"MainWindow responding to general refresh event.");
			this.refresh();

		}
		else if (t.equals(TimeflecksEvent.EVERYTHING_NEEDS_REFRESH))
		{
			GlobalLogger.getLogger().logp(Level.INFO, "MainWindow",
					"eventPosted",
					"MainWindow responding to everything needs refresh event.");
			this.revalidate();
			this.repaint();
			this.refresh();
		}
		else if (t.equals(TimeflecksEvent.DAY_WEEK_VIEW_SWITCHED))
		{
			GlobalLogger.getLogger().logp(Level.INFO, "MainWindow",
					"eventPosted",
					"MainWindow responding to day week view switched event.");
			this.refreshPanels();
		}
		else if (t.equals(TimeflecksEvent.DATE_LEFT_ONE_BUTTON))
		{
			GlobalLogger.getLogger().logp(Level.INFO, "MainWindow",
					"eventPosted",
					"MainWindow responding to date left button event.");
			this.bumpDateLeft(1);
		}
		else if (t.equals(TimeflecksEvent.DATE_TODAY_BUTTON))
		{
			GlobalLogger.getLogger().logp(Level.INFO, "MainWindow",
					"eventPosted",
					"MainWindow responding to date today button event.");
			this.bumpDateToday();
		}
		else if (t.equals(TimeflecksEvent.DATE_RIGHT_ONE_BUTTON))
		{
			GlobalLogger.getLogger().logp(Level.INFO, "MainWindow",
					"eventPosted",
					"MainWindow responding to date right button event.");
			this.bumpDateRight(1);
		}
		else if (t.equals(TimeflecksEvent.DATE_LEFT_SEVEN_BUTTON))
		{
			GlobalLogger.getLogger().logp(Level.INFO, "MainWindow",
					"eventPosted",
					"MainWindow responding to date week left button event.");
			this.bumpDateLeft(7);
		}
		else if (t.equals(TimeflecksEvent.DATE_RIGHT_SEVEN_BUTTON))
		{
			GlobalLogger.getLogger().logp(Level.INFO, "MainWindow",
					"eventPosted",
					"MainWindow responding to date week right button event.");
			this.bumpDateRight(7);
		}
		else
		{
			// We want to silently ignore all events that we aren't prepared to
			// handle.
			// GlobalLogger
			// .getLogger()
			// .logp(Level.WARNING, "MainWindow", "eventPosted",
			// "MainWindow responding to unknown event. No action will be taken");
		}
	}