fixes #2379 JEditorPane is used instead of JLabel.