tkormann 2002/06/12 05:22:15 Modified: sources/org/apache/batik/swing/gvt JGVTComponent.java Log: requestFocus is done each time the mouse enter the JGVTComponent so that keyboard events can be dispatched immediately (without an initial mouse click inside the canvas). Revision Changes Path 1.28 +2 -1 xml-batik/sources/org/apache/batik/swing/gvt/JGVTComponent.java Index: JGVTComponent.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/swing/gvt/JGVTComponent.java,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- JGVTComponent.java 17 Apr 2002 14:39:50 -0000 1.27 +++ JGVTComponent.java 12 Jun 2002 12:22:15 -0000 1.28 @@ -915,6 +915,7 @@ * Invoked when the mouse enters a component. */ public void mouseEntered(MouseEvent e) { + requestFocus(); selectInteractor(e); if (interactor != null) { interactor.mouseEntered(e);
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]