Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to commit value on focuslost in Tableview

1054347Nov 13 2013 — edited Nov 13 2013

I made TableCell include TextField by myself.( not TextFieldTableCell)

and I added foucusProperties to this TextField to call "commitEdit".

when I clicked other contol(ex other table row), value was commited.

thats fine.

but when I clicked TextFiled twice, TextField was lost focus and value was commited.

I dont know why.

TextField was already have focus after it start editing.

Why it was lost focus when I clicked inside TextField twite!!

I hope TextField keep focus.

how to stop focuslost in this case?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 11 2013
Added on Nov 13 2013
2 comments
1,221 views