key press
Submitted by Thursday, 6 April, 2006 - 12:40
on
Hey!
im writing a project and i cant get it to work!
im doing a text editor and i want to check if any key is pressed in the jtextarea, if so when i try to close it should ask if i want to save or not, otherwise just close.
i want to use a boolean after checking
im writing a project and i cant get it to work!
im doing a text editor and i want to check if any key is pressed in the jtextarea, if so when i try to close it should ask if i want to save or not, otherwise just close.
i want to use a boolean after checking