Remove multiple use of @FXML decorator in controller class

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: 8u5
    • Component/s: javafx
    • Environment:

      Windows 7 x86_64, JDK 8u4

      Now in controller files we have multiple instances of @FXML decorator. It will be better where decorator @FXML will include all lines(section) to the empty new line.

      Example:
      Now:

      @FXML
      Button example_button;
      @FXML
      Label example_label;

      My suggestion:
      // section from FXML file
      @FXML
      Button example_button;
      Label example_label;
      HBox example_hbox;

      // normal java code section
      String str;
      Object object;

            Assignee:
            Jonathan Giles
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: