I'm trying to use a JFXPanel together with Seesaw.
Since javafx.embed.swing.JFXPanel extends javax.swing.JComponent I tried to do this:
(let [jfx-panel (JFXPanel.)]
(config! jfx-panel :id :my-id))
which gives the following error:
Unhandled java.lang.IllegalArgumentException
No implementation of method: :get-widget-option-map* of protocol:
#'seesaw.widget-options/WidgetOptionProvider found for class:
javafx.embed.swing.JFXPanel
The documentation about "Integrating Custom Widgets" says that objects that are of sub-classes of JComponent can be used with config! etc. (https://github.com/daveray/seesaw/wiki/Widgets)
Shouldn't this work or what am I doing wrong?
I'm using clojure 1.10 and seesaw 1.5.0.
I'm trying to use a JFXPanel together with Seesaw.
Since javafx.embed.swing.JFXPanel extends javax.swing.JComponent I tried to do this:
which gives the following error:
The documentation about "Integrating Custom Widgets" says that objects that are of sub-classes of JComponent can be used with config! etc. (https://github.com/daveray/seesaw/wiki/Widgets)
Shouldn't this work or what am I doing wrong?
I'm using clojure 1.10 and seesaw 1.5.0.