resizeable JWindow without MouseListener or MouseMotionListener
Hey, I'm looking for a JWindow that is resizeable without using a mouselistener or a mousemotionlistener. I was thinking that i could have a JWindow (JBorder) that is the border of the window to be able to resize the window and another JWindow ontop of that window to be able to add stuff to the window.
The problem with this is that you cannot add a JWindow to a JWindow, and that when you try and paint anything what i believe will happen is that it will not paint on the border, just on the inner JWindow.
Overall im trying to basically make a JFrame without a blue title bar without using a MouseListener or MouseMotionListener
> Tried it but if you use undecorated, it becomes> non-resizeableBecause you have purged its intrinsic controls from the window, you have to give alternatives in it.
hiwaa at 2007-7-14 20:58:36 >

The point being if you don't want to use a Mouse to resize the window, then how is the user expected to resize the window. Do you want to use a menu with a resize menu item, or maybe asign the resize function to say Alt-UpArrow , DownArrow, LeftArrow, RightArrow. If you don't want to use a mouse then these are your options.
If you want to use a mouse without using a title bar on tha JFrame then you need to write your own code which will involve MouseListeners etc.
The is no default way to do what you want.