Skip to main content

key_press

1 reply [Last post]
alexvosson
Offline
Joined: 2006-04-05
Points: 0

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

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
soupdragon
Offline
Joined: 2006-01-07
Points: 0

For advice on your programs you'd best go to the Java forums at http://forum.java.sun.com/forum.jspa?forumID=31

This forum is really for discussions of new Java features we'd like to see and so on.