private void loadText(){
        textPane.setText("");

        StyledDocument doc = textPane.getStyledDocument();
        for ( RecipeSection section: recipe.getSections() ){
            try{
                String headline = section.getHeadline();
                if( headline != null && ! headline.equals("") ){
                    doc.insertString(doc.getLength(), headline + "\n", doc.getStyle("bold"));
                }

                doc.insertString(doc.getLength(), section.getText() + "\n\n", null);
            } catch (BadLocationException e){
                //As long as we use doc.getLength() this exception should not be possible
                e.printStackTrace();
            }
        }

        textPane.setCaretPosition(0);
    }