I am looking to define a router in Java which take the Jess's printout content into TextField/TextArea of JavaFx GUI.
A similar question is asked here: Jess printout contents print in Java, but the problem is that I am using JavaFx which import javafx.scene.control.TextArea
instead of java.awt.TextArea
in Swing.
I've tried to extend the TextAreaWriter
class and redefine the constractor to get TextArea
object, but the problem still in TextArea
's append method.