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

[651 byte] By [k2snowman69@yahoo.coma] at [2007-10-3 3:08:09]
# 1
> Overall im trying to basically make a JFrame without a blue title barframe.setUndecorated(true);
hiwaa at 2007-7-14 20:58:36 > top of Java-index,Desktop,Core GUI APIs...
# 2
Tried it but if you use undecorated, it becomes non-resizeable
k2snowman69@yahoo.coma at 2007-7-14 20:58:36 > top of Java-index,Desktop,Core GUI APIs...
# 3
> 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 > top of Java-index,Desktop,Core GUI APIs...
# 4
Could you please explain that? Maybe give an example of how to give the window alternatives... Thanks for your help
k2snowman69@yahoo.coma at 2007-7-14 20:58:36 > top of Java-index,Desktop,Core GUI APIs...
# 5
You could use any Swing controls for any GUI manipulation purpose including window resizing.
hiwaa at 2007-7-14 20:58:36 > top of Java-index,Desktop,Core GUI APIs...
# 6
Swing controls being what? Listeners?
k2snowman69@yahoo.coma at 2007-7-14 20:58:36 > top of Java-index,Desktop,Core GUI APIs...
# 7
> Swing controls being what? Listeners?Aww.. 'controls' may be a Windows terminology.As a X terminology, it is called 'widgets'.More generic term might be 'GUI components' or 'presentation objects'.
hiwaa at 2007-7-14 20:58:36 > top of Java-index,Desktop,Core GUI APIs...
# 8

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.

camickra at 2007-7-14 20:58:36 > top of Java-index,Desktop,Core GUI APIs...
# 9
Thanks guys, ill get coding then
k2snowman69@yahoo.coma at 2007-7-14 20:58:36 > top of Java-index,Desktop,Core GUI APIs...