So far I got that we can remove the minimize/maximize etc buttons from a jframe (header).
How can I remove just the Maximize button from a JFrame?
How to hide the default minimize/maximize and close buttons on JFrame window in Java?
Is there a way to add a custom button in a jframe(header)? I am trying to extend the default available jframe buttons feature and add my own "always on top" into it. If this is not possible then I would like to add some pinning icon into the jframe (header) to replicate "always on top" feature for a jframe (or jinternalframe).
This feature that I am trying to implement is similar to what we see on a linux machines with gui which enable us to keep a folder always in top. enter image description here