ONLY USE MY CODE
INCLUDE COMMENTS SO I CAN SEE WHERE YOU MAKE THECHANGES
Add a File menu with Open and Save menu items. Make sure youfollow the standards (they are the same for all operating systemsfor the File menu Open and Save items.
Set the menu bar to display at the system level.
You do not need to handle the Save and Open click events at thistime.
public class Assignment12 extends Application{ @Override public void start (Stage stage) throws Exception{ //creating object for BoderPane class BorderPane border Pane = new Border Pane (); TextArea textArea; textArea = new TextArea(); //allows the word wrapping to the text area textArea.setWrapText (true); //add the text to the border pane borderPane.setCenter (textArea); /*creating an object name scene for the class named Scene Scene scene = new Scene (borderPane); // set title stage.setTitle (“Application”); // set scene stage.setScene (scene); //display the contents of stage stage.show(); * @param args the command line arguments //main method public static void main(String[] args) { //launch application launch(args); Show transcribed image text public class Assignment12 extends Application{ @Override public void start (Stage stage) throws Exception{ //creating object for BoderPane class BorderPane border Pane = new Border Pane (); TextArea textArea; textArea = new TextArea(); //allows the word wrapping to the text area textArea.setWrapText (true); //add the text to the border pane borderPane.setCenter (textArea); /*creating an object name scene for the class named Scene Scene scene = new Scene (borderPane); // set title stage.setTitle (“Application”); // set scene stage.setScene (scene); //display the contents of stage stage.show(); * @param args the command line arguments //main method public static void main(String[] args) { //launch application launch(args);
Expert Answer
Answer to ONLY USE MY CODE INCLUDE COMMENTS SO I CAN SEE WHERE YOU MAKE THE CHANGES Add a File menu with Open and Save menu items….