Resize a window without native decorators
I am developing a frame and I want to remove the OS title panel and borders. So I call the function setUndecorated(true) to disable the native decorators. If nothing is missing me, I think I can set all the window events again (like closing, maximize, etc. to the new buttons on the new top panel) but I am aware about the resize mechanism. How can I setup it again?
By the way, I am using Synth to implement a simple but custom LAF.
I need some orientation on this. Thanks.