private void initElements(String title, int size, Movie movie,
			boolean editable) {

		// labels
		lMovietitel = new JLabel("Titel");
		lOriginaltitle = new JLabel("Originaltitel");
		lYear = new JLabel("Jahr");
		lCountries = new JLabel("Produktionsländer");
		lDirector = new JLabel("Regisseur");
		lActors = new JLabel("Hauptdarsteller");

		// title in frame
		lTitle = new JLabel(title);
		// settings
		lTitle.setFont(new Font("Serif", Font.BOLD, size));

		if (movie != null) {
			// textfield and textareas for movie
			tfMovietitle = new JTextField(movie.getTitle(), 15);
			tfOriginaltitle = new JTextField(movie.getOriginalTitle(), 15);
			tfYear = new JTextField(String.valueOf(movie.getYear()), 15);
			// there can be more countries
			tfCountries = new JTextField(15);
			if (movie.getCountries() != null) {
				firstIteration = true;
				for (String country : movie.getCountries()) {
					if (firstIteration) {
						tfCountries.setText(country);
						firstIteration = false;
					} else {
						tfCountries.setText(tfCountries.getText() + ", "
								+ country);
					}
				}
			}
			tfDirector = new JTextField(movie.getDirector().getName(), 15);
			// there are 3 actors
			taActors = new JTextArea(3, 15);
			if (movie.getActors() != null) {
				firstIteration = true;
				for (Actor actor : movie.getActors()) {
					if (firstIteration) {
						taActors.setText(actor.getName());
						firstIteration = false;
					} else {
						taActors.append("\n" + actor.getName());
					}
				}
			}
		} else {
			// textfields
			tfMovietitle = new JTextField(15);
			tfOriginaltitle = new JTextField(15);
			tfYear = new JTextField(15);
			tfCountries = new JTextField(15);
			tfDirector = new JTextField(15);
			// textareas
			taActors = new JTextArea(3, 15);
		}

		// settings of textfields
		tfMovietitle.setEditable(editable);
		tfOriginaltitle.setEditable(editable);
		tfYear.setEditable(editable);
		tfCountries.setEditable(editable);
		tfDirector.setEditable(editable);

		// settings of textareas
		taActors.setEditable(editable);

	}