LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-17-2009, 03:09 PM   #1
POW R TOC H
Member
 
Registered: Mar 2008
Location: Serbia
Distribution: Fedora
Posts: 37

Rep: Reputation: 15
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?
 
Old 03-17-2009, 04:56 PM   #2
hedgy102
Member
 
Registered: Mar 2009
Distribution: Debian,Centos
Posts: 30

Rep: Reputation: 16
Are you running Compiz/Beryl?
 
Old 03-17-2009, 07:32 PM   #3
POW R TOC H
Member
 
Registered: Mar 2008
Location: Serbia
Distribution: Fedora
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by hedgy102 View Post
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...

Last edited by POW R TOC H; 03-17-2009 at 07:33 PM.
 
Old 03-18-2009, 01:49 PM   #4
hedgy102
Member
 
Registered: Mar 2009
Distribution: Debian,Centos
Posts: 30

Rep: Reputation: 16
Can you please give me the output of java -version?
 
Old 03-18-2009, 01:51 PM   #5
hedgy102
Member
 
Registered: Mar 2009
Distribution: Debian,Centos
Posts: 30

Rep: Reputation: 16
Just asking to make sure you are running the same java version you installed.
 
Old 03-19-2009, 06:05 AM   #6
POW R TOC H
Member
 
Registered: Mar 2008
Location: Serbia
Distribution: Fedora
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by hedgy102 View Post
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)
 
  


Reply

Tags
applet, input, java, keyboard



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Repeated "input: AT Translated Set 2 keyboard as /class/input/input" messages AcerKev Mandriva 2 09-16-2007 08:35 AM
java applets basak Programming 1 05-20-2007 03:49 PM
ä,ö won't appear in Java applets JussiKp Linux - General 3 12-08-2006 03:51 AM
How do I use java applets? brooks_45 Linux - Newbie 6 02-01-2006 05:47 PM
java applets nOOb1kanobee Linux - Newbie 1 02-25-2004 02:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration