Im trying to create my own Frame for my application.
I have removed the standard Frame by using setUndecorated(true)
. I have a working exit button (not that difficult), but i want to have a JButton equal to the windows-minimizing-button in the top-right corner.
I have tried several solutions as hide()
, HIDE_ON_CLOSE
and even setVisible()
. But non of them is giving me the wanted result.
Im extending a JFrame to my class.
I am thinking of some Mouselistener(?), but im like a big question mark right now.