Je cherche un moyen d'aligner verticalement un texte dans un JTextComponent (comme un JEditorPane, JTextPane ...) à la manière d'un JLabel (mais ici je veux pouvoir afficher un texte plutot long sur plusieurs lignes).

Quelqu'un aurait une idée ???