JDK-6378547 : Disabled Table allows to change the cell value
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • OS: solaris_10
  • CPU: sparc
  • Submitted: 2006-01-30
  • Updated: 2011-04-28
Related Reports
Relates :  
Description
Step to Reproduce :-
------------------------------
a)run the attached program.
b)select a cell ( you can see the cursor in the cell) in edit mode.
c)disable the table by clicking "disable" button, but still you can the cell in edit mode.
d)click on "getCellValue" button.
e)you can see the cell value on the console.
f)Click on the "ClearAll" button. You can see there is no selection on the table.but still   the cell is in edit mode.
g)type some character in the edited cell & press "Enter" key.
h)click on "getCellValue" button.
i)you can see the value of the cell on the  console.

Actually no action should happen once the table is disabled. after the step (c ) the cell also should be disabled. 

I tested this sample code on Tiger RC build 63 & Mustang RC 69.

Comments
EVALUATION Apparently, table disabling (in action and in appearance) was never really implemented. This should be fixed, along with bug #4795987.
09-03-2006