Has anyone got an article or a tutorial to share e...
# compose-desktop
b
Has anyone got an article or a tutorial to share explaining how to integrate CfD with some OO framework like JavaFX?
k
What are you looking for? JavaFX specifically for UI interoperability? For some sort of an event bus? Even though composables are usually top level functions, Kotlin still supports classes and objects.
b
No I gave JFX just as an example. What I'm after is learning how to integrate declarative CfD with an arbitrary imperative UI framework.
k
https://github.com/JetBrains/compose-jb/tree/master/tutorials/Swing_Integration has info on Swing interoperability, along with its limitations. Swing has interoperability with a number of other UI frameworks, but I don't think it's going to be quite useful to talk about some arbitrary UI integration in general. Is there a specific scenario you have in mind?
b
I think Swing is a perfect start for me. Somehow I've missed it on the repo. My use-case is actually integrating material-components-web into CfW via their foundation APIs, which are class based
d
Following this... I'm interested in driving a 3D scene graph with Compose runtime