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 cell edit in JTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "cell edit in JTable" Watch "cell edit in JTable" New topic

cell edit in JTable

johny sill

Joined: Jul 08, 2006
Posts: 27

i use isCellEditable false for all columns in JTable, at the time of creation.

But when runtime i want to edit some cells in JTable,

How to do this

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10825

Set it to true.

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
I agree. Here's the link:
subject: cell edit in JTable
It's not a secret anymore!