Closed Kokecena closed 9 months ago
Hi! Yes, you got it right as far as I can see.
Since overall Swing components have a huge number of properties, I mainly select to implement those which I need in my project (closed source).
I'll add JList
'selected value' property in the next release of the library (v1.25).
Thanks!
Recently I have been using your library, it has simplified many things to activate or deactivate buttons in my application, recently I noticed that I wanted to deactivate a button when an item in a list is selected under a certain condition, but there was nothing to do it, I checked how to do it. you did with the JComboBox since it is slightly similar, and well it works for me, although I don't know if it is that effective or if you follow any rule to do it, but I did it like this
And i use there
And a video.
https://github.com/parubok/swing-fx-properties/assets/75457600/5f24bc6b-e9e8-4366-ae72-9d38ef2c7d40
Maybe it is not the right approach or for some reason you have not added it, recently I am testing the benefits of JavaFX property binding, it would be good if most of the components could be simplified to support the property but from what I see it is difficult because which depends on the Listener of each Swing component