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

前端 未结 4 1632
悲&欢浪女
悲&欢浪女 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 05:59

    The editor sample I posted is not a type and preview method, it's a JavaScript editor embedded (codemirror) into a JavaFX application using WebKit. You can find the related source here or an updated version for a mini-IDE in the conception project.

提交回复
热议问题