Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
テキストを複数行に表示し、テキストを右揃えにしたい。
JTextAreaTで入れてみたのComponentOrientation.RIGHT_TO_LEFですが句読点(?!)が正しく表示されません。
JTextArea
ComponentOrientation.RIGHT_TO_LEF
JTextArea で html を使用しないのはなぜですか。Java はそれを正しく表示します。例:
JLabel example = new JLabel(); example.setText("<html>This is the first line<br>This is the second</html>");