Replies: 2 comments 11 replies
-
Can we see more of the code? I don't know what jpype should handle object conversion. if the |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a custom class which is a py5.object:

<py5.BtnOneController object at 0x13c3ea2f0>
I need to pass that class to a javafx.fxml function which requires a 'java.lang.Object'
public void javafx.fxml.FXMLLoader.setController(java.lang.Object)
Is there a way to cast from a py5.object to a java.lang.Object?
I tried casting it like this, but Thonny returns an error:
Beta Was this translation helpful? Give feedback.
All reactions