Reputation: 22348
I've created a JTable object using NetBeans 7.4. By default it has four columns. I only need two. There is a columnCount property, but it is greyed out, so I can't change it. How do I set my column count to two?
Upvotes: 1
Views: 7210
Reputation: 2571
Within the properties of the JTable you can access a menu which is called "Model". There you will get inside an editor, where you can edit the appearance of your JTable.
Upvotes: 9