Communication IDE <-> JavaFX

I have no idea how to do what you want.

Considering that the IDE will have got the list of COM ports from the operating system I don't see what disadvantage it would be if your Java program did the same thing.

...R