I am running my JavaFX application like this:
public class MainEntry {
public static void main(String[] args) {
Controller controller = new Contr
The String array passed to the main() method are the parameters of the application, not specifically to the JavaFX module if you arbitrarily choose to use JavaFX.
The easiest solution could be to store the argumets for later use (e.g. static attribute next to the main() method, and a static getter method to access it).