Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Make TableColumns Non- Movable ??  RSS feed

 
Rajesh Nair
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Can anybody point out , how is it possible to restrict the user from moving the TableColumns using mouse inside a JTable ..
Thanx in Advance
Rajesh
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
setColumnSelectionAllowed(false). I don't know if there is another method but this works.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!