That is, in Intellij, there are no errors in the editor. I guess I should have said that the program "appears" to compile. Series1.getData().add(new XYChart.Data(201, year2016+ "\nFibanocci")) Ĭan you copy the full text of the error messages and paste it here? Series1.getData().add(new XYChart.Data(350, year2016+ "\nFlinstone")) XYChart.Series series1 = new XYChart.Series() Public class BarChartExample extends Applicationįinal static String year2017 = void start(Stage stage)įinal NumberAxis xAxis = new NumberAxis() įinal CategoryAxis yAxis = new CategoryAxis() I also downloaded an example from the Oracle site with the same errors. What do I need to do to get this simple code to run as in Java 8? Supposedly, it won't be until JDK 11 this September (2018) when Oracle removes JavaFX from the standard JDK. I get method drop downs, etc., but when I try to run it in Java 10, I get symbol not found for all the JavaFX classes (Application, scene, etc.).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |