how to tell if a JInternalFrame is beign resized by a drag or in general
hi
i need to distinguish between my internal frme beignresized by a corner/side drag and it beignresized from a button/menu action.
i hav ea component listener, with a componentResized method. but that is being called in both instances...
is there someother way to get the drag resize?
thanks
[323 byte] By [
amargulisa] at [2007-10-2 17:34:20]

Resizing a window with a button/menu isn't a very common/standard interface practice so you aren't going to find built in support for it as far as distinguishing between "types" of resizing.
If the button/menu is pressed you will probably need to set a boolean flag and then in the component listener make logic decisions based on the value of the flag.
That is probably how I would approach it.