Update of /cvsroot/queryviewer/queryviewer/src/net/sourceforge/queryviewer/ui/event
In directory sc8-pr-cvs1:/tmp/cvs-serv7141
Modified Files:
CloseControler.java
Log Message:
typos et essais pour raccourcis clavier... mais ça ne fonctionne pas, on dirait...
Index: CloseControler.java
===================================================================
RCS file: /cvsroot/queryviewer/queryviewer/src/net/sourceforge/queryviewer/ui/event/CloseControler.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** CloseControler.java 23 Jun 2003 14:39:35 -0000 1.4
--- CloseControler.java 23 Jun 2003 15:18:26 -0000 1.5
***************
*** 3,8 ****
import java.awt.Event;
import java.awt.event.ActionEvent;
! import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeEvent;
import javax.swing.Action;
import javax.swing.KeyStroke;
--- 3,9 ----
import java.awt.Event;
import java.awt.event.ActionEvent;
! import java.awt.event.KeyEvent;
import java.beans.PropertyChangeEvent;
+ import java.beans.PropertyChangeListener;
import javax.swing.Action;
import javax.swing.KeyStroke;
***************
*** 35,42 ****
+ "la connexion à la source de données" );
//super.putValue( Action.SMALL_ICON, );
! //super.putValue( Action.ACTION_COMMAND_KEY, KeyStroke.getKeyStroke( new Character( 'w' ), Event.CTRL_MASK ) );
! //super.putValue( Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke( new Character( 'w' ), Event.CTRL_MASK ) );
! super.putValue( Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke( new Character( 'w' ) ) );
! super.putValue( Action.MNEMONIC_KEY, new Integer( 'w' ) );
} // CloseConnection constructor
--- 36,42 ----
+ "la connexion à la source de données" );
//super.putValue( Action.SMALL_ICON, );
! super.putValue( Action.ACTION_COMMAND_KEY, "Connexion fermée." );
! super.putValue( Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke( KeyEvent.VK_W, ActionEvent.CTRL_MASK ) );
! super.putValue( Action.MNEMONIC_KEY, new Integer( KeyEvent.VK_W ) );
} // CloseConnection constructor
|