+ 1
difference between isEditable and setEditable
2 Antworten
+ 6
isEditable returns a boolean whether is allowed to be edited or not
and setEditable changes the state from true to false and vice versa
+ 2
isEditable() is to CHECK whether a component is editable or not
setEditable() is to MAKE a component as editable or not
example:-
if(something.isEditable())
something.setEditable(false)
else
something.setEditable(true)