//How can I call the JavaFXGUI class in the JavaTestDriver class? I have tried keywords "start" and "launch" and tried to create a blank method in the JavaFXGUI class and then trying to call the method. The two classes work separately, but I cannot seem to get the JavaTestDriver class to call the JavaTestGUI class. The class I am trying to call from has an exception, but I don't know if that would affect anything. I would like to replace the JOptionPane input of the 3 variables with the JavaFX input of the 3 variables which is in a seperate class. Any help or point in the right direction would be appreciated. I am new to programming.
I have added code tags to your post; always use the,. Doesn't it look better. They do however highoight the incorrectly formatted comments. For comments longer than about ½ line use /* comments */ and make sure to restrict the line length. I shall have a go at correcting that later.
Don't throw plain Exception. If you don't want negative numbers throw an IllegalArgumentException and don't use a throws clause. Describe the Exception in the /** documentationcomments */ however. No, the possibility of throwing an Exception should not make any difference to your problem.
You never call a class. You call methods of its instances. There are no such things as start and launch keywords. Do you mean method names? Do you know how to create an instance of that JavaFXGUI class?