public void saveSRTFile() {
		if (_generalPanel.getInputField().equals("")) {
			JOptionPane
					.showMessageDialog(
							null,
							"No source file has been selected. Please select a file in the General tab to save SRT.");
			return;
		}
		String outtext;
		File inputMedia = new File(_generalPanel.getInputField());
		int location = inputMedia.getAbsolutePath().lastIndexOf(".");
		if (location == -1) {
			outtext = inputMedia.getName();
		} else {
			outtext = _generalPanel.getInputField().substring(0, location);
		}
		try {
			File outSRT = new File(outtext + ".srt");
			if (outSRT.exists()) {
				Object[] options = { "Cancel", "Overwrite existing" };
				int result = JOptionPane
						.showOptionDialog(
								null,
								outSRT.getName()
										+ " already exists. What would you like to do?",
								"Already Exists", JOptionPane.ERROR_MESSAGE,
								JOptionPane.WARNING_MESSAGE, null, options,
								options[1]);
				if (result == 0) {
					// Do nothing
				} else {
					outSRT.createNewFile();
					PrintWriter output = new PrintWriter(outtext + ".srt");
					for (int i = 0; i < subtitleData.getRowCount(); i++) {
						output.println();
						output.println(i);
						output.println(subtitleData.getValueAt(i, 0)
								+ ",000 --> " + subtitleData.getValueAt(i, 1)
								+ ",000");
						output.println(subtitleData.getValueAt(i, 2));
					}
					output.close();
					JOptionPane.showMessageDialog(null, "Subtitle file saved");
				}
			} else {
				outSRT.createNewFile();
				PrintWriter output = new PrintWriter(outtext + ".srt");
				for (int i = 0; i < subtitleData.getRowCount(); i++) {
					output.println();
					output.println(i);
					output.println(subtitleData.getValueAt(i, 0)
							+ ",000 --> " + subtitleData.getValueAt(i, 1)
							+ ",000");
					output.println(subtitleData.getValueAt(i, 2));
				}
				output.close();
				JOptionPane.showMessageDialog(null, "Subtitle file saved");
			}
		} catch (IOException e1) {
			e1.printStackTrace();
		}
	}