xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tkorm...@apache.org
Subject cvs commit: xml-batik/sources/org/apache/batik/swing/gvt JGVTComponent.java
Date Wed, 12 Jun 2002 12:22:15 GMT
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


Mime
View raw message