This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with repositioning JTable columns  RSS feed

 
Jody Seigle
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm wondering if there is a problem with moving columns of a JTable that contain other components (buttons, checkboxes, etc). My code seems to be throwing null pointer exceptions whenever a column with another component is moved but not when the columns containing only text are moved.
If there is no way to stop the exceptions, then is there a way to prevent a certain column from being repositioned. I know you can set reOrderingAllowed to false for all columns, but I need some to be able to be re-ordered.
Thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!