Hey everyone, I'm not sure if this is the right forum but it was the closest I could find to what I'm about to ask,
I was about to get into creating scripts for osbot this time, and I remembered the last time I worked on something like this for another bot (which is more then 2 years ago) I was creating a small library to handle the creation of paints in an OOP way, with Swing in mind, although quite different. I did this because I really hated the default way to create those Paints/UIs in an onPaint method and this way you can create a panel, assign a background, add buttons with custom backgrounds etc. It will also be very organized as, for example, you can create separated classes for panels, you can add a click handler on a button instead of checking if it is in the bounds of a rectangle as I'm sure a lot of people are doing through the onPaint button atm.
I'm probably going to create something small like this for myself anyways, but if there's interest I may find some time to do this proper and release it. So please let me know what you think about this!