> Apparently, pack does nothing until the internal frame is added to the
> desktop pane. I passed the desktop pane into the constructor and had it
> add itself to the desktop pane.
> Then, pack works. wow, what a pain in the arse!
Usually you call pack() after all the components have been added, to let
the LayoutManager know "Okay, go ahead and actually lay the components out;
I'm done messing around." If you call pack() too early, some of the
assumptions that the layout manager is going to make will turn out to be
false, and you'll get weird results.
- Oliver