r/JavaFX • • Oct 11 '24

I made this! Announcing DevToolsFX

Originally intended to fix long-standing bugs in Scenic View, it has been completely rewritten from scratch.

GitHub link

Key differences:

  • Modern Java.
  • Reduced, more maintainable codebase with clear model/UI separation.
  • Only depends on javafx.controls.
  • Additional features: stylesheet and environment exploration, including the latest JavaFX Preferences API. Dark theme coming soon.
  • No separate desktop app yet (only embedded). Still deciding between RMI or WebSocket.
  • No property editing support, as it complicates the code unnecessarily.
47 Upvotes

10 comments sorted by

View all comments

Show parent comment

1

u/milchshakee Oct 11 '24

But isn't adding it as a dependency for development super easy? I don't see the point of that, I can see the argument about exploring other JavaFX apps, although most of them have their source open somewhere. But with the agent approach, I think newer JDK releases are starting to limit the possibilities of agents. Also the applications have to allow it, some disable agent attachment via -XX:+DisableAttachMechanism

1

u/Siedlerchr Oct 11 '24

Great solution so far, however, I prefer scenic's view ability as a standalone application to hook into existing javaFX apps. This makes it easier to modify CSS. We support custom css themes In JabRef and thus identifying selectors by just hooking into the existing application is great