I want to essentially make a frame but with my own title bar etc. Is there a way to do this? I tried extending awt.window, but to no avail. I want to have a window and then put components on it.
I see two options. you can use the pluggable look+feel to set up the frame the way want, or you can use a Frame/JFrame and use setUndecorated() to remove the regular max/min/close buttons + title bar. setExtendedState() lets you programmatically max+min. Closing is easy enough. Dragging, well, look at java.awt.event.MouseListener.