niemueller.de::home niemueller.de
Open Software. Open Knowledge.




 

Java Swing Key Handling



The problem: You have a form and you capture the key released event. Now after some time it mysteriously stops working.

Where the problems comes from: You probably have a table or some other widget with a scrollbar in the form. This scrollbar magically atracts all keyboard input and your handler will no longer get it...

How I solved it: In my application the scrollbars where not needed and I removed them. Works great now...

Time it took me to find it: About and hour wasted time.
    Home     Contents     Search     View other revisions     Recent changes    




Top 5 Pages
Wiki
WebLog
SquidGuard Webmin Module
Link Pile
Network Utilities Webmin Module




Palm Software
UniMatrix UniMensa UniSorter
UniChat OHS Mobile Onager


My Bookshelf




Valid XHTML 1.1!

RSS Copyright © 2000-2009 by Tim Niemueller