aspose file tools
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

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

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: 2261

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