I was asked about using a listener to handle Swing GUI events. I created a simple example which uses a PropertyChangeListener that captures events. You can see the KeyEvents output to the System.out
Here is a link to the NetBeans 6.5 project SwingGUIListenerExample
No comments:
Post a Comment