Hi jamwa,
i saw it. There is listener for window resize, but not when the window is moved.
like when u press the title bar and move the window , how will u find out this.
resize listener works in the case of
> if u maximize or minimize
> increase or reduce the size of the window
But not in the case i have mentioned earlier.
This code gives the coordinates of the top left corner your frame
JFrame fra = new JFrame("Test Page");
System.out.println("X coordinate: " + fra.getX());
System.out.println("Y coordinate: " + fra.getY());
> How to find programatically whether the window (that is opened) is moved or resized .
> I tried all combinations, but one problem or the other will still be thr.
are you incapabale of looking at the api docs for ComponentListener?
I'm happy to provide sample program - please advise spoon size.