File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Android Security Essentials Live Lessons this week in the Android 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

how to set the JTable cells un editable


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

Jeff Chang

Joined: Aug 23, 2001
Posts: 23
Here are a couple of hints at JDC forum:
Good luck. :-)
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

your name doesn't agree with the javaranch guidelines.
please re-register after reviewing the guidelines at
thanks for your cooperation.
- satya

Take a Minute, Donate an Hour, Change a Life
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.
I agree. Here's the link:
subject: how to set the JTable cells un editable
Similar Threads
Jtable CellEditor
jButton in jTable Cell with Action
Making all Cells NotEditable in a JTable
Header for JTable
Suggention on JTable