JTable column headers missing when using GUI builder

when I add a JTable using the GUI editor in Idea 4.0 I can't seem to get the JTable column headers to show up. When I do the very same thing with a JTable not created by the GUI designer the column headers show up. Does anyone have an idea what the problem is or how I can fix it?

2 comments
Comment actions Permalink

Have you given the table a model?

Tom

0
Comment actions Permalink

May be JScrolPane required?

0

Please sign in to leave a comment.