Hi. Sorry, I forgot to update. I think it has something to do with AWT_TOOLKIT variable. In past, it was recommended (I don't know if it still applies, I don't use compiz anymore) to set this variable to MToolkit due to Compiz issues with Java gui apps. I forgot this variable in /etc/environment. When I tried to set this variable to XToolkit or leave it unset (XToolkit is default on Linux), problems with keyboard locking in java apps disapeared.
Little info about toolkits: http://java.sun.com/j2se/1.5.0/docs/guide/awt/1.5/xawt.html Java bug post: http://bugs.sun.com/view_bug.do?bug_id=6506617 -- Java AWT/Swing apps losts focus in some situations https://bugs.launchpad.net/bugs/174281 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs