Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Move JavaFX to a separate library in the Contributions Manager #348

Copy link
Copy link
@processing-bot

Description

@processing-bot
Issue body actions

Created by: benfry

The size Processing 4 is massive (hundreds of megabytes) compared to Processing 3. The main problem is that the JavaFX library is enormous, so I'm probably gonna have to move it to a separate library that can be installed from the Contributions Manager. Not a great user experience, but better than everyone having to deal with such a massive download.

Unfortunately, it's not an easy decision, because it requires a lot more effort:

  1. Extra code will be required to warn users to add import processing.javafx.* when they use the FX2D renderer, or to do that automatically behind the scenes
  2. Tools that use JavaFX will no longer work – maybe they can once the JavaFX library is installed, but that'll be still more workarounds and hacking.
  3. Building and maintaining JavaFX in a separate repository similar to processing-video is that much more work for me.

Java 17 is also quite a bit larger than Java 8, but we're just stuck with that. There isn't a good way to modularize a development environment—I can't/shouldn't be anticipating what modules people will need/want to use.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.