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 iscelleditable is not working 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 "iscelleditable is not working in jtable" Watch "iscelleditable is not working in jtable" New topic

iscelleditable is not working in jtable

vijayakumar durai
Ranch Hand

Joined: Aug 18, 2008
Posts: 153
i am trying the jtable cell uneditable but it is not working can any body tell what is the problem


Rob Camick
Ranch Hand

Joined: Jun 13, 2009
Posts: 2452

Doesn't seem to make much sense to create a table with data from the SQL query, and then change the model to an empty model.

Did you add any debug statement to your custom model to see if the isCellEditable(...) method is ever invoked?

If you need further help then you need to create a SSCCE (Short, Self Contained, Compilable and Executable, Example Program), that demonstrates the incorrect behaviour.

I agree. Here's the link:
subject: iscelleditable is not working in jtable
It's not a secret anymore!