Eric Clayberg wrote:That would do it. The layout() method is very important.
It is also always a good idea to post an example. It is much easier to try to get an existing example to work than to construct one from scratch (that might not even be accurate).
What I did was copy the code which generated the table and viewer (from CreateContents()) to a new method. It took me a bit to notice the layout() call after the CreateContents() call, as I generally try to leave any code generated by WindowBuilder alone. All in all, it was a Learning Experience TM.
Basically, I had solved the problem two days ago, except for the call to layout(), and have spent a lot of time trying increasingly baroque "solutions" that were, of course, unnecessary. So it goes. OTOH, I've learned a lot more about the structures of tables, viewers, and so on.