Re: No keyboard into in JApplet
- From: "tetsuoni@xxxxxxxxx" <tetsuoni@xxxxxxxxx>
- Date: 29 Oct 2006 18:57:34 -0800
hiwa wrote:
tetsuoni@xxxxxxxxx wrote:
I have observed a consistent problem with applets not acceptingThis is a FAQ. You should use Java 1.4 or older as Java plug-in
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?
for Mozilla family of browsers. Flood them with complaints!!!
Back-leveling to Java 1.4 is not a solution. I'm glad to know that
this is a FAQ, but there should certainly be a concerted effort by
someone towards a solution.
Now the fun part: is it really Mozilla's problem? Same Mozilla/Firefox
browser, if we use Java 1.4 all is good... but if we go to Java 1.5 all
is bad.
That seems to suggest that the Java crew broke it and need to fix it.
If not, then the Sun/Java crew needs to actively open a dialog with the
Mozilla crew and resolve this. Leaving a bug as fatal as this in the
wild for a year shouldn't inspire confidence in anybody that Sun or
Mozilla would be willing to solve the next major problem on your plate.
This breaks tons of Applets out there. Wrecks lots of thin-client
plans.
So, is there some other solution that lets one use Java 1.5 in
Mozilla/Firefox and have keyboard input into applet?
Also, what would it take to get Sun/Java crew and Mozilla crew to
actually explain
(a) why this is broken?, and
(b) how they will fix it?
.
- Follow-Ups:
- Re: No keyboard into in JApplet
- From: Paul Hamaker
- Re: No keyboard into in JApplet
- References:
- No keyboard into in JApplet
- From: tetsuoni@xxxxxxxxx
- Re: No keyboard into in JApplet
- From: hiwa
- No keyboard into in JApplet
- Prev by Date: Re: Read pixels that have been painted on a Canvas?
- Next by Date: image
- Previous by thread: Re: No keyboard into in JApplet
- Next by thread: Re: No keyboard into in JApplet
- Index(es):
Relevant Pages
|
|