Hi ..
When I am using GridBagLayout , whenever the window is resized the component locations change to the fit new size ..
Now I want to change the location of a component after an event ( like a mouse click on any button ) until the component goes out of the window (it's like the properties or toolbox window in Visual Studio 2008) , I do that, but when I change the size of th window , this component moves to the last location , which I don't want .
when I put the compoents on the JFrame by GridBagLayout , I used gridx and gridy . What can I use to change this location after creating window ?