Why would I do something like that?
"It's easy to customize the content pane ?setting the layout manager or adding a border, for example. However, there is one tiny gotcha. The getContentPane method returns a Container object, not a JComponent object. This means that if you want to take advantage of the content pane's JComponent features, you need to either...
1) typecast the return value or...
2) create your own component to be the content pane. Our examples generally take the second approach, since it's a little cleaner.
3) Another approach we sometimes take is to simply add a customized component to the content pane, covering the content pane completely."
- Sun (http://java.sun.com/docs/books/tutorial/uiswing/components/rootpane.html)
My question is why in the world would I EVER what to take the 3. approach!? Just to show that I'm clever(?) or does it give me any benefits in some cases? If so, what are they?
Regards,
Stefan

