@Override
	public void actionPerformed(ActionEvent e)
	{
		switch(e.getActionCommand().charAt(0))
		{
			case 'u':
			{
				if(!TextUpload.upload(frame.text.getText())) break;
			}
			case 'c':
			{
				frame.dispose();
				break;
			}
		}
	}