What is JavaFX equivalent of JSyntaxPane for making a code editor?

前端 未结 4 1629
悲&欢浪女
悲&欢浪女 2021-02-06 05:27

Previously in Swing, I have used the JSyntaxPane for making a tiny Java source editor. For practice, I decided to redo the entire project in JavaFX and adding suppo

4条回答
  •  温柔的废话
    2021-02-06 06:00

    There's RichTextFX which lets you do the highlighting. Check out the Java Keywords example.

    Note that it requires JDK8.

提交回复
热议问题