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

Need to add javafx-src.zip to JDK 8 distribution

    XMLWordPrintable

    Details

      Description

      The code completion we get in NetBeans is lacking variable names, and I believe this is caused by the fact that the JavaFX sources are not mounted. For instance, if i write this code

      new Insets(|);

      And hit Ctrl+Space, I am told that the Insets constructor takes four parameters named double arg0, double arg1, double arg2, double arg3.

      As you know, the parameters are in fact named double top, double right, double bottom, double left. Having this information when developing with JavaFX is of course very helpful, however, the devpreview distributions do not contain a src.zip file, so there is no easy way to achieve full fledged Ctrl+Space parameter name information.

      Like so many others we are using Maven, so the ideal solution would of course be if both jfxrt.jar and its associated jfxrt-sources.jar was something we could just register as a maven dependency, as requested by this other issue http://javafx-jira.kenai.com/browse/RT-11182.

      But until RT-11182 is solved, I suggest jfxrt-sources.jar is provided as part of the devpreview distributions so we can all benefit from full fledged Ctrl+Space parameter name information.

        Attachments

          Activity

            People

            Assignee:
            kcr Kevin Rushforth
            Reporter:
            risaksen Randahl Isaksen
            Votes:
            9 Vote for this issue
            Watchers:
            10 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: