Monospaced font/symbols for JTextPane
问题 I want to build a console-like output using JTextPane. Therefore I am using a monospaced font: textpane.setFont(new Font(Font.MONOSPACED, Font.PLAIN, 12)); This works fine for all kind of alphanum (like a-z, 0-9 etc.) characters, but when it comes to symbols like ' \u2588 ' (█), the font isn't monospaced anymore. Did I forgot something? Or isn't there a monospaced font which includes smybols? 回答1: Ok, first off, it sounds to me like you're trying to address a couple of different things here,