public ActionBar(NoteEditor editor) {
super(new FlowLayout());
TokenManager allTokens = TokenManager.INSTANCE;
this.add(new JButton(new TokenActions(editor, allTokens
.getToken(TokenManager.BOLD), "Gras", "votre texte en gras")));
this.add(new JButton(
new TokenActions(editor, allTokens.getToken(TokenManager.ITALIC),
"Italique", "votre texte en italique")));
this.add(new JButton(new TokenActions(editor, allTokens
.getToken(TokenManager.UNDERLINE), "Soulignez",
"votre texte souligne")));
this.add(new JButton(new NewLineAction(editor)));
}