<Swing Dev> Seems like JDK-4625667 can be closed now. But can we replicate the fix using Java 6?

yhlee yhlee at infopro.com.my
Wed Nov 13 05:57:38 UTC 2013


Hi,

Seems like  JDK-4625667 (Strange FOCUS_GAINED event is sent to application)
<https://bugs.openjdk.java.net/browse/JDK-4625667>   can be closed now.

The problem occurs if using JDK 1.6 (tested up to update 45), but it does
not occur if using JDK 1.7 (tested update 15 and 40). In JDK 1.6, the
JButton at the bottom of the form gains focus wrongly. In JDK 1.7, the
JTabbedPane gains focus correctly.

I need to ask:
1) How was this fixed? (e.g. which classes/methods were modified to change
this focus traversal behavior?)
2) Is it possible to replicate this fix while still using JDK 1.6?

I'm asking because we need to stick with JDK 1.6 for certain reasons, and
the bug JDK-4625667 causes various issues if we apply auto-scrolling.
Details can be found in this post:
https://forums.oracle.com/thread/2591042
<https://forums.oracle.com/thread/2591042>  

Thanks in advance.


Cheers,
James Lee



--
View this message in context: http://openjdk.5641.n7.nabble.com/Seems-like-JDK-4625667-can-be-closed-now-But-can-we-replicate-the-fix-using-Java-6-tp166606.html
Sent from the OpenJDK Swing Development mailing list archive at Nabble.com.



More information about the swing-dev mailing list