File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes how to set the JTable cells un editable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to set the JTable cells un editable" Watch "how to set the JTable cells un editable" New topic
Author

how to set the JTable cells un editable

mohanrajh
Greenhorn

Joined: Sep 15, 2001
Posts: 2
hi,
im looking for a code that sets the JTable cells(rows and columns) un editable.
could anyone help me
thanx
mohan

mohan
Jeff Chang
Greenhorn

Joined: Aug 23, 2001
Posts: 23
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

Joined: Jun 03, 2000
Posts: 5040

"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

Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
Thanks for linking my reply there Jeff. That way I didn't have to type it in again.
 
jQuery in Action, 2nd edition
 
subject: how to set the JTable cells un editable
 
Similar Threads
Making all Cells NotEditable in a JTable
jButton in jTable Cell with Action
Header for JTable
Suggention on JTable
Jtable CellEditor