db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/tools/mapping/reversedb/gui DBColumnPropertySheet.java DBTablePropertySheet.java
Date Sat, 07 Jun 2003 10:11:50 GMT
brj         2003/06/07 03:11:50

  Modified:    src/java/org/apache/ojb/tools/mapping/reversedb/gui
                        DBColumnPropertySheet.java
                        DBTablePropertySheet.java
  Log:
  some style fixes
  
  Revision  Changes    Path
  1.5       +8 -2      db-ojb/src/java/org/apache/ojb/tools/mapping/reversedb/gui/DBColumnPropertySheet.java
  
  Index: DBColumnPropertySheet.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/tools/mapping/reversedb/gui/DBColumnPropertySheet.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- DBColumnPropertySheet.java	21 Feb 2003 12:47:03 -0000	1.4
  +++ DBColumnPropertySheet.java	7 Jun 2003 10:11:50 -0000	1.5
  @@ -54,6 +54,8 @@
    * <http://www.apache.org/>.
    */
   
  +import java.awt.event.KeyEvent;
  +
   import org.apache.ojb.tools.mapping.reversedb.Utilities;
   
   /*
  @@ -311,7 +313,7 @@
       private void tfJavaFieldNameKeyTyped(java.awt.event.KeyEvent evt)//GEN-FIRST:event_tfJavaFieldNameKeyTyped
       {//GEN-HEADEREND:event_tfJavaFieldNameKeyTyped
           // Revert to original value if ESC is pressed.
  -        if (evt.getKeyChar() == evt.VK_ESCAPE)
  +        if (evt.getKeyChar() == KeyEvent.VK_ESCAPE)
           {
               this.tfJavaFieldName.setText(aColumn.getJavaFieldName());
           }
  @@ -415,6 +417,9 @@
   
   /***************************** Changelog *****************************
   // $Log$
  +// Revision 1.5  2003/06/07 10:11:50  brj
  +// some style fixes
  +//
   // Revision 1.4  2003/02/21 12:47:03  florianbruckner
   // corrected event handling of JInputField objects, value of field was
   // not written back to the model object.
  
  
  
  1.5       +10 -4     db-ojb/src/java/org/apache/ojb/tools/mapping/reversedb/gui/DBTablePropertySheet.java
  
  Index: DBTablePropertySheet.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/tools/mapping/reversedb/gui/DBTablePropertySheet.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- DBTablePropertySheet.java	21 Feb 2003 12:48:07 -0000	1.4
  +++ DBTablePropertySheet.java	7 Jun 2003 10:11:50 -0000	1.5
  @@ -1,5 +1,7 @@
   package org.apache.ojb.tools.mapping.reversedb.gui;
   
  +import java.awt.event.KeyEvent;
  +
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  @@ -347,7 +349,7 @@
       private void tfConversionStrategyClassKeyTyped(java.awt.event.KeyEvent evt)//GEN-FIRST:event_tfConversionStrategyClassKeyTyped
       {//GEN-HEADEREND:event_tfConversionStrategyClassKeyTyped
           // Revert on ESC
  -        if (evt.getKeyChar() == evt.VK_ESCAPE)
  +        if (evt.getKeyChar() == KeyEvent.VK_ESCAPE)
           {
               this.tfConversionStrategyClass.setText(aTable.getConversionStrategyClass());
           }
  @@ -368,7 +370,7 @@
       private void tfPackageNameKeyTyped(java.awt.event.KeyEvent evt)//GEN-FIRST:event_tfPackageNameKeyTyped
       {//GEN-HEADEREND:event_tfPackageNameKeyTyped
           // Revert on ESC
  -        if (evt.getKeyChar() == evt.VK_ESCAPE)
  +        if (evt.getKeyChar() == KeyEvent.VK_ESCAPE)
           {
               this.tfPackageName.setText(aTable.getPackageName());
           }
  @@ -389,7 +391,7 @@
       private void tfClassNameKeyTyped(java.awt.event.KeyEvent evt)//GEN-FIRST:event_tfClassNameKeyTyped
       {//GEN-HEADEREND:event_tfClassNameKeyTyped
           // Revert on ESC
  -        if (evt.getKeyChar() == evt.VK_ESCAPE)
  +        if (evt.getKeyChar() == KeyEvent.VK_ESCAPE)
           {
               this.tfClassName.setText(aTable.getClassName());
           }
  @@ -471,6 +473,9 @@
   
   /***************************** Changelog *****************************
   // $Log$
  +// Revision 1.5  2003/06/07 10:11:50  brj
  +// some style fixes
  +//
   // Revision 1.4  2003/02/21 12:48:07  florianbruckner
   // corrected event handling of JInputField objects, value of field was
   // not written back to the model object.
  
  
  

Mime
View raw message