Disable moving functionnality of window
Hi all,
I am developping in application that its window must be disable for resize and moving.
I explain more, the user should be disable to move or resize the window.
For resize point, I have found a solution but for the move one, no solution.
So please help me to make the window fixed.
Thank's in advance.
[346 byte] By [
Badra] at [2007-10-3 7:55:20]

//Listen for component events
frame.addComponentListener(new ComponentAdapter() {
public void componentResized(ComponentEvent e) {}
public void componentHidden(ComponentEvent e) {}
public void componentMoved(ComponentEvent e) {
setLocation(30, 30); // Reset window's location.
}
public void componentShown(ComponentEvent e) {}
});
rykk