When double click on editable cell of jtable it shown as here.

what i need is if user click mouse outside table of press a button before entering the value then existing value should be auto entered and output should be shown as follow.

Any help or suggestion would be greatly appreciated.