public void showPopup(){
		String title = "";
		if(this.newEintrag)
			title = "Create Entry";
		else
			title = "Edit Entry";

		int result = JOptionPane.showConfirmDialog(null, pane,
				title, JOptionPane.OK_CANCEL_OPTION,
				JOptionPane.PLAIN_MESSAGE);

		if (result == JOptionPane.OK_OPTION) {
			if (!stringField.getText().equals("")) {
				Date d = null;
				// falls Zeit angegeben
				if (isTime) {
					try {
						d = dateFormat.parse(dateField.getText());
						Calendar gc = new GregorianCalendar();
						gc.setTime(d);
						int year = gc.get(Calendar.YEAR);
						int month = gc.get(Calendar.MONTH);
						int day = gc.get(Calendar.DAY_OF_MONTH);
						// get hours and minutes
						int hour = hourField.getValue();
						int min = minuteField.getValue();
						gc.set(year, month, day, hour, min, 0);
						// setz Datum mit Zeit
						d = gc.getTime();
					} catch (ParseException e1) {
						e1.printStackTrace();
					}
				}

				// Eintrag in Tabelle hinzufuegen falls neuer Eintrag
				if (this.newEintrag) {
					Entry e = new Entry(stringField.getText(), d);
					listTable.addEntry(e);
				}
				// ansonsten Eintrag veraendern
				else {
					Entry editE = listTable.getEintragAt(selectedRow);
					editE.setAufgabe(this.stringField.getText());
					editE.setEndzeitpunkt(d);
					if(d != null){
						editE.berechneRestzeit(d);
					}
					listTable.editEntry(selectedRow, editE);
				}
			}
		}
	}