LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Java applets don't receive keyboard input (http://www.linuxquestions.org/questions/linux-software-2/java-applets-dont-receive-keyboard-input-712327/)

POW R TOC H 03-17-2009 04:09 PM

Java applets don't receive keyboard input
 
Hello. I'm using Fedora 10 32-bit, kernel 2.6.27.9, with Firefox 3.0.5
Java version 1.6.0_07-b06

I've tried many java applets on internet, and none respond to keyboard input. I'm writing a little Java applet, and I'm trying to see if it at all receives any kind of event, but the keyPressed() method (KeyboardListener interface) never even gets called.

Any idea why this might be and how to fix it?

hedgy102 03-17-2009 05:56 PM

Are you running Compiz/Beryl?

POW R TOC H 03-17-2009 08:32 PM

Quote:

Originally Posted by hedgy102 (Post 3478697)
Are you running Compiz/Beryl?

Nope.
PS : It's not firefox's fault. I've tried using an applet with java's applet-viewer, it doesn't work either.
Also, I've tried re-installing Java multiple times...

hedgy102 03-18-2009 02:49 PM

Can you please give me the output of java -version?

hedgy102 03-18-2009 02:51 PM

Just asking to make sure you are running the same java version you installed.

POW R TOC H 03-19-2009 07:05 AM

Quote:

Originally Posted by hedgy102 (Post 3479699)
Just asking to make sure you are running the same java version you installed.

Sure thing :
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode)


All times are GMT -5. The time now is 09:49 AM.