Snapping Floating Windows GUI
If you've used Winamp before, you've noticed how it's comprised of a few independent frames or "windows" that snap together to align with each other and the sides of the screen. The program I'm developing hopes to use a similar GUI.
Firstly, how can you make multiple windows that can talk to each other? Is this as simple as using many JFrames that are all in scope of one another?
Secondly, how can the frames "snap" in place as a Winamp one would?
And lastly, somehow when a frame is either directly or vicariously snapped to the main Winamp frame, moving the main one brings all "children" frames with it. This seems a bit sophisticated, but if you go for the floating and snapping window package, you might as well upgrade to the dependent motion special as well, ya know. How can it all be done?

