ARTICLE AD BOX
I am trying to use javafx to render HTML 5 using a maven project on netbeans. The HTML is coming from eml files. I was able to render some eml files using a JTextPane but for HTML 5 the rendering is blank.
I manually edit the pom file to look like this, because the dependencies are not automatically available.
<dependencies> <dependency> <groupId>javax.mail</groupId> <artifactId>mail</artifactId> <version>1.4.7</version> </dependency> <dependency> <groupId>org.openjfx</groupId> <artifactId>javafx-controls</artifactId> <version>21</version> </dependency> <dependency> <groupId>org.openjfx</groupId> <artifactId>javafx-fxml</artifactId> <version>21</version> </dependency> </dependencies>However netbeans does not recognize any of the javax imports.
import javafx.application.Application;
"package javafx.application does not exist"
Any suggestions?
8,6542 gold badges14 silver badges23 bronze badges
9
Explore related questions
See similar questions with these tags.
