Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [albireo-dev] More focus related fixes and some cleanup

Gordon,

> The legacy focus 
> traversal policy does not work well in our environment and leads to 
> stack overflow errors when a swing component is focused. So, to avoid 
> the problem I force the focus traversal policy (on both the frame and 
> the JApplet) to LayoutFocusTraversalPolicy. Windows only. I don't know 
> if the problem exists on other platforms.

Yes, the problem also appears sporadically on Gtk (see the other mail).

> I added checkWidget() calls to all public API in SwingControl except for
> the accessors for the frame and swingComponent.

Thanks. That's good, because we did not check for the right thread or
against a DISPOSED status consistently before.

Bruno


Back to the top