Dez 102009
 

Sometimes a customer asks for a mechanism to lock a Java desktop application after a certain time of inactivity by the user. This can be easily achieved by adding a listener to the toolkit that contains a timer counting backwards. Every time the user creates a [cci lang=“java“]MouseEvent[/cci] or a [cci lang=“java“]KeyEvent[/cci] the timer is […]