No keyboard into in JApplet



I have observed a consistent problem with applets not accepting
keyboard input. This manifests itself when I put a JTextArea into a
JInternalFrame in an applet. The applet will work perfectly with
appletviewer, but when it is brought up in any of the Mozilla-based
web-browsers --- Firefox (Linux), Epiphany (Linux), Mozilla (Linux) ---
the applet fails to process any keyboard inputs. :(

I have seen this occur when I visit some websites that try to run a
Java-based chat program --- and it certainly is happening in my
Applets.

How are others making this work with JApplets?

I am running Firefox (Linux), Epiphany (Linux), Mozilla (Linux).

Note: Mouse events are working... it is just the keyboard events that
are failing. Even selecting text inside of the JTextArea with the
mouse will work, but typing will not.

Any ideas?

I've tried using requestFocus() and similar methods, but nothing works.
How are people writing applets that get keyboard input and work under
Linux?

.



Relevant Pages

  • Re: No keyboard into in JApplet
    ... JInternalFrame in an applet. ... I am running Firefox, Epiphany, Mozilla. ... How are people writing applets that get keyboard input and work under ... That seems to suggest that the Java crew broke it and need to fix it. ...
    (comp.lang.java.gui)
  • No keyboard into in JTextArea in JApplet
    ... keyboard input. ... JInternalFrame in an applet. ... Even selecting text inside of the JTextArea with the ...
    (comp.lang.java.gui)
  • Re: No keyboard into in JApplet
    ... JInternalFrame in an applet. ... I am running Firefox (Linux), Epiphany, Mozilla. ... Even selecting text inside of the JTextArea with the ... How are people writing applets that get keyboard input and work under ...
    (comp.lang.java.gui)
  • applet keyboard
    ... ive got an applet that uses itself as a thread ... and i want to use it to get keyboard input. ... the applet sleeps for 19 ... sorry if my english is crappy or if i havent described the problem well ...
    (comp.lang.java.help)
  • Re: No keyboard into in JTextArea in JApplet
    ... keyboard input. ... JInternalFrame in an applet. ... I am running Firefox (Linux), Epiphany, Mozilla. ...
    (comp.lang.java.gui)