Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to set the JTable cells un editable

 
mohanrajh
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
im looking for a code that sets the JTable cells(rows and columns) un editable.
could anyone help me
thanx
mohan
 
Jeff Chang
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
Here are a couple of hints at JDC forum:
http://forum.java.sun.com/thread.jsp?forum=57&thread=174217
and
http://forum.java.sun.com/thread.jsp?forum=57&thread=173943
Good luck. :-)
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

"mohanrajh"
your name doesn't agree with the javaranch guidelines.
please re-register after reviewing the guidelines at http://www.javaranch.com/name.jsp
thanks for your cooperation.
- satya
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for linking my reply there Jeff. That way I didn't have to type it in again.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic