I am trying to add the HBox and change to Pane to a BorderPane and when I try to run it I get a message saying "java.lang.reflect.InvocationTargetException" and I can't seem to fix it. Does anyone possibly know why this is happening?
Hmm, that's not a very informative error message, is it?
Any chance that one of your objects is null, from not having been initialized to a value?
Or, perhaps you can show us a few lines of code where you think the problem may be?
That helped, it seems that I put the wrong variable in the .setCenter().