Re: No keyboard into in JApplet




hiwa wrote:
tetsuoni@xxxxxxxxx wrote:
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?
This is a FAQ. You should use Java 1.4 or older as Java plug-in
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?

.



Relevant Pages

  • Re: transfer file via http
    ... I'm really surprised (at Mozilla). ... You don't suppose MS did something snarky in that applet to screw them up? ... jpeg but pretty clearly was a win32 exe, which it would write to disk and then run. ... It's a nasty, nasty world out there in Win32/internet land, ...
    (microsoft.public.vb.general.discussion)
  • RE: Mozilla 1.7.2 crash with java on Fedora Core 2
    ... Trying it with the applet viewer should validate the locus of the issue. ... Mozilla 1.7.2 crash with java on Fedora Core 2 ... > I used a link and the right plugin. ... Any difference in video driver? ...
    (Fedora)
  • Re: mozilla-applet-crash
    ... > Java 1.4.2). ... > with mozilla with and without server started. ... > closes immediately after calling the webpage containing the applet. ... > I could not find any hints how to solve my problem. ...
    (comp.lang.java.help)
  • 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)
  • [Full-Disclosure] Re: [Full-Disclosure] http://federalpolice.com:article872@1075686747
    ... Running mozilla 1.6. ... > Hi Nicola, ... > It's not a zip file, not an applet, but a plain EXE file. ...
    (Full-Disclosure)