Return-Path: Delivered-To: apmail-xml-batik-dev-archive@xml.apache.org Received: (qmail 84889 invoked by uid 500); 12 Jun 2002 12:22:16 -0000 Mailing-List: contact batik-dev-help@xml.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: batik-dev@xml.apache.org Delivered-To: mailing list batik-dev@xml.apache.org Received: (qmail 84878 invoked by uid 500); 12 Jun 2002 12:22:16 -0000 Delivered-To: apmail-xml-batik-cvs@apache.org Date: 12 Jun 2002 12:22:15 -0000 Message-ID: <20020612122215.69182.qmail@icarus.apache.org> From: tkormann@apache.org To: xml-batik-cvs@apache.org Subject: cvs commit: xml-batik/sources/org/apache/batik/swing/gvt JGVTComponent.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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: batik-dev-unsubscribe@xml.apache.org For additional commands, e-mail: batik-dev-help@xml.apache.org