How can I make the custom menu of close/minimize/maximize act like the default one ?
The Default menu can be docked on the right/left of the screen like split the screen on two parts , is there a way to make that happen ?
The Default windows 10 menu picture :
You create buttons and add an
Action
to each button.Action
you would use thedispose()
method on the frameActions
you would use thesetExtendedState(...)
method on the frame