Re: [Ql-Users] Caps Lock

2013-02-14 Thread Wolfgang Lenerz
Yes, Wolfgang, have read that tonight. A shame. But isn't "doesn't work everwhere" somewhat better than "not implemented"? You're probabbly right, but I'm going to get complaints "why does it work there but not here...". I'll see what I can do and mention it in the manual. Wolfgang _

Re: [Ql-Users] Caps Lock

2013-02-14 Thread Tobias Fröschle
Am 15.02.2013 um 08:30 schrieb Wolfgang Lenerz: > Hi Tobias, > >> Öhm, >> >> it's quite some time when I was working as a Java developer, but how about >> >> >> Toolkit.getDefaultToolkit().getLockingKeyState(KeyEvent.VK_CAPS_LOCK); >> >> ?? >> > > Won't work on all linuxes. > > Wolfgang

Re: [Ql-Users] Caps Lock

2013-02-14 Thread Wolfgang Lenerz
Hi Tobias, Öhm, it's quite some time when I was working as a Java developer, but how about Toolkit.getDefaultToolkit().getLockingKeyState(KeyEvent.VK_CAPS_LOCK); ?? Won't work on all linuxes. Wolfgang ___ QL-Users Mailing List http://www.q-v-d.

Re: [Ql-Users] Caps Lock

2013-02-14 Thread Petri Pellinen
Hi Tobias, You are right, that is the way that works in quite a few environments but apparently not everywhere so it is not entirely reliable. Petri 14.2.2013 21.48 "Tobias Fröschle" kirjoitti: > > Am 14.02.2013 um 20:15 schrieb Wolfgang Lenerz: > > > Le 14/02/2013 19:57, Petri Pellinen a écri

Re: [Ql-Users] Caps Lock

2013-02-14 Thread Tobias Fröschle
Am 14.02.2013 um 20:15 schrieb Wolfgang Lenerz: > Le 14/02/2013 19:57, Petri Pellinen a écrit : >> Yeah Java is kind of ugly in that sense, unless one is willing to take the >> hit of using JNA to get >> access to >> KeyboardUtils

Re: [Ql-Users] Caps Lock

2013-02-14 Thread Wolfgang Lenerz
Le 14/02/2013 19:57, Petri Pellinen a écrit : Yeah Java is kind of ugly in that sense, unless one is willing to take the hit of using JNA to get access to KeyboardUtils

Re: [Ql-Users] Caps Lock

2013-02-14 Thread Petri Pellinen
Yeah Java is kind of ugly in that sense, unless one is willing to take the hit of using JNA to get access to KeyboardUtilswhich supposedly gets the job done in a fairly p

Re: [Ql-Users] Caps Lock

2013-02-14 Thread Dilwyn Jones
Thought that might be the case, thanks. Dilwyn Jones -Original Message- From: Wolfgang Lenerz Sent: Thursday, February 14, 2013 6:22 PM To: ql-us...@q-v-d.com Subject: Re: [Ql-Users] Caps Lock Le 14/02/2013 17:21, Dilwyn Jones a écrit : SMSQmulator doesn’t seem to change sv_caps at

Re: [Ql-Users] Caps Lock

2013-02-14 Thread Wolfgang Lenerz
Le 14/02/2013 17:21, Dilwyn Jones a écrit : SMSQmulator doesn’t seem to change sv_caps at all. Means standard QL caps lock indicators don’t work on those systems. Yup. There's no reliable way to get the caps lock status from Java, sorry. Wolfgang