|May 8, 2006, 09:39 PM||#1|
How do i code a simple coding so that when i press Del on the Keyboard my Label or Button will be deleted? i nv used key Listener Before.. can anyone Help me??
|May 9, 2006, 06:28 AM||#2|
I am curious if you read what you wrote after you posted it?
Since you are new to ActionListener here is a good place to start.
Since you are looking for once the 'Del' button is pressed I would suggest starting here at the KeyStroke Class...
Here are a few uses of the javax.swing.KeyStroke.
17" MacBook Pro i7 500GB SSD
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Capture all key events in the system||robj||Mac Programming||13||Aug 12, 2010 08:58 PM|
|Key Events||Binju||Mac Programming||18||Apr 7, 2010 02:29 AM|
|UITextField : Any way to detect the Delete key event when the field is empty ?||namanhams||iPhone/iPad Programming||3||Dec 13, 2009 12:26 AM|
|Is it possible to send key events from an app?||iCode||Mac Programming||3||May 21, 2007 12:12 PM|
|Key Event handling||slooksterPSV||Mac Programming||2||Feb 28, 2007 03:20 PM|
All times are GMT -5. The time now is 06:49 PM.