Skip to main content

Focus problems with Plugin2+FireFox3B4

2 replies [Last post]
Joined: 2004-01-07

Hi there,

Since I've updated to b13 (from b5) I am experiencing focus problems with a self-written applet.
The applet shows that a JTextField has the Focus, but instead of inserting the text in the JTextField the browser inserts the typed letters into its adressbar.
It seems like the browser is eating away the plugin's events ;)

Clicking on the JTextField did not help, text was still inserted into the browser's adress bar.

Hope this helps, lg Clemens

It does only happen sometimes, and I found this stacktrace in the console:
Exception in thread "AWT-EventQueue-2" java.lang.IllegalArgumentException: null source
at java.util.EventObject.(
at java.awt.AWTEvent.(
at java.awt.event.ComponentEvent.(
at java.awt.event.WindowEvent.(
at java.awt.event.WindowEvent.(
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(
at java.awt.Component.dispatchEventImpl(
at java.awt.Container.dispatchEventImpl(
at java.awt.Window.dispatchEventImpl(
at java.awt.Component.dispatchEvent(
at java.awt.EventQueue.dispatchEvent(
at java.awt.SentEvent.dispatch(
at java.awt.DefaultKeyboardFocusManager$DefaultKeyboardFocusManagerSentEvent.dispatch(
at java.awt.EventQueue.dispatchEvent(
at java.awt.EventDispatchThread.pumpOneEventForFilters(
at java.awt.EventDispatchThread.pumpEventsForFilter(
at java.awt.EventDispatchThread.pumpEventsForHierarchy(
at java.awt.EventDispatchThread.pumpEvents(
at java.awt.EventDispatchThread.pumpEvents(

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2004-01-07

I experienced the problem a few times and it seems its not linked with the Exception listed above.

Clicking between the browser and the plugin does not help, however if I click on the java-console and then on the applet input works again.

lg Clemens

Joined: 2003-06-16

Please provide a test case. You can email me at kenneth dot russell at sun dot com.