Using JavaFX I created a button in a Scene that opens output.txt file. Now, the issue when I try to open the txt file from the webView I see the display color is light gray. How can I force the color to be black or anything else.
WebView web = new WebView();
Scene helpScene = new Scene(web, 800, 750);
Stage helpStage = new Stage();
helpStage.setScene(helpScene);
File readMe = new File("output.txt");
web.getEngine().load(readMe.toURI().toString());
helpStage.show();