@Override
	public void actionPerformed(ActionEvent e) {
		if(e.getSource().equals(back)) {
			Menu m = new Menu(parent, "resources/Menu.png");
			m.setLocation(PhotoLoc.this.getX() - PhotoLoc.this.getWidth(), PhotoLoc.this.getY());
			parent.getContentPane().add(m, 0);
			Utilities.transitionEffect(PhotoLoc.this, m, parent, true);
		} else if(e.getSource().equals(getLoc)) {
			new Thread(new Runnable() {
				
				@Override
				public void run() {
					location.setText(AdminClient.client.getLocation());
				}
			}).start();
		}
	}