Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8123706

Menu now breaks 3D rendering of nodes(build 94 issue)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: javafx
    • Environment:

      Windows 7, 64-bit, Java 8 Build 94

      Description

      http://s1139.photobucket.com/user/ThekonradZuse/media/Coding/Video6_zps58102da7.mp4.html

      If I get rid of my menu it works, or else it looks like this. The last Version I used was 89, so I'm not sure if this is new to this build or not.

      private MenuBar menu()
          {
              MenuBar menuBar = new MenuBar();


              Menu menuFile = new Menu("File");
              Menu menuEdit = new Menu("Edit");
              Menu menuView = new Menu("View");

              MenuItem menuItemOpen = new MenuItem("Open");
              MenuItem menuItemSave = new MenuItem("Save");
              
              menuItemOpen.setOnAction((ActionEvent ae)
           -> {
                   FileChooser fileChooser = new FileChooser();
                   fileChooser.setTitle("Open Plan File");
                   fileChooser.getExtensionFilters().addAll(
                   new ExtensionFilter("Plan Files: *.kaw", "*.kaw", "*.mda", "*.lasagna"),
                   new ExtensionFilter("All Files: *.*", "*.*"));
                   
                   File selectedFile = fileChooser.showOpenDialog(stage);
                   if (selectedFile != null)
                   {
                          
                   }
                           
              });

              menuItemSave.setOnAction((ActionEvent ae)
           -> {
                   FileChooser fileChooser = new FileChooser();
                   fileChooser.setTitle("Save Plan File");
                   fileChooser.getExtensionFilters().addAll(
                   new ExtensionFilter("Plan Files: *.kaw", "*.kaw", "*.mda", "*.lasagna"),
                   new ExtensionFilter("All Files: *.*", "*.*"));
                   
                   File selectedFile = fileChooser.showSaveDialog(stage);
                   if (selectedFile != null)
                   {

                   }
                           
              });
        
        
              menuFile.getItems().setAll(menuItemOpen, menuItemSave);
              
              menuBar.getMenus().setAll(menuFile, menuEdit, menuView);
              menuBar.prefWidthProperty().bind(stage.maxWidthProperty());
             
              
              root.getChildren().add(menuBar);
              
              return menuBar;
          }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ckyang Chien Yang (Inactive)
                Reporter:
                jorsawjfx Jay Orsaw (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: