JavaFX is not included in JDK 11, so use OpenJFX (openjfx.io), like this with Apache Maven and Apache NetBeans: https://openjfx.io/openjfx-docs/#maven
Watch video OpenJFX, Maven, JDK 11, and Apache NetBeans 10 online without registration, duration hours minute second in high quality. This video was added by user NetBeansVideos 21 October 2018, don't forget to share it with your friends and acquaintances, it has been viewed on our site 17,993 once and liked it 114 people.