Thanks for all the ideas Paul.
Unfortunately, adding the Panel to the center of a BorderLayout just brings us back to square one - when the Frame is resized horizontally beyond a point, the TextField and TextArea line up next to each other. My goal here is to always have the TextField on top of the TextArea.
Using GridBagLayout does get the job done. I'm using this app to teach some
Java programming concepts to some young students who are very new to programming. But I just don't think they're ready for it yet. In two weeks.. sure.
I apparently don't understand what a Panel is supposed to do. I thought that a Panel was a container that I could add components to and I could have control over the dimension of the Panel. Apparently, I have no control over the dimension of the Panel. Not only that, but the Panel doesn't seem to care about the available width provided by its container when it's added under FlowLayout conditions - the Panel just widens itself more and more for each component added to it without wrapping the components when the width of the parent container is exceeded.
Perhaps the bottom line here is: a Panel doesn't behave like I thought it did (and like I think it should - I just want to tell it how big I want it to be).
Again, thanks for all of the help Paul.
[ April 11, 2002: Message edited by: Dirk Schreckmann ]