I am writing an Intellij Plugin and need to build a rather complex dialog in it. A dialog that would be really tiring to do in swing. So i want to know if i can shortcut it and use JavaFx to design and programm said dialog. AFAIK you need JavaFX to be started from a class extending "Application" which in turn needs to be started as seperate process. Is there a way to just build a dialog in fx and call it from another class without the need of a separate proccess?