Javafx program which can be controlled both by GUI and Command Line?
问题 I am working with the Javafx GUI but i also require the same level of functionality from the command line. I am wondering what the best way to make a main class which has functionality for both command line and Javafx at the same time so you can do one thing on the GUI and then do the next thing on command line. Command line would also update the GUI display. 回答1: (Really, this question is off-topic, as it is too broad. It was interesting enough, though, for me to try a proof of concept of