Question: Please find the TWO errors in this JAVA program. import javafx.application.Application; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.stage.Stage; /** This is the main application class for
Please find the TWO errors in this JAVA program.
import javafx.application.Application;
import javafx.scene.Parent; import javafx.scene.Scene; import javafx.stage.Stage;
/** This is the main application class for the Latin Translator programming challenge. */ public class LatinTranslator extends Application { public void start(Stage stage) throws Exception { // Load the FXML file. Parent parent = FXMLLoader.load(getClass().getResource()); // Build the scene graph. Scene scene = new Scene(parent); // Display our window, using the scene graph. stage.setTitle("Latin Translator"); stage.setScene(scene); stage.show(); } public static void main(String[] args) { // Launch the application. launch(args); } }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
