views:

232

answers:

3

I have zero experience writing applications with Swing, but I have one application with which to start experimenting.

For this application, I want my window to have a variable number of small "tile"-like structures, which can be moved/closed/minimized just like windows by the user inside my main frame, and which will display, each a small table.

I'd like to know what kind of structures should I use to accomplish this. Bonus points for any answers oriented towards Scala Swing.

+3  A: 

It sounds like you want something like what's implemented as JDesktopPane/JInternalFrame. This is what's commonly known as MDI. Check out Sun's "How to Use Internal Frames" page.

lucasmo
+1  A: 

Maybe a docking framework is what you are looking for. You could have a look at InfoNode Docking Windows.

Mark
A: 

Check out my answer in this similar question for an example of how to use JDesktopPane and JInternalFrame.

Nate