logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From psm...@apache.org
Subject cvs commit: jakarta-log4j-sandbox/src/java/org/apache/log4j/chainsaw FileLoadAction.java
Date Tue, 06 May 2003 02:26:41 GMT
psmith      2003/05/05 19:26:41

  Modified:    src/java/org/apache/log4j/chainsaw FileLoadAction.java
  Log:
  modified the Open action to use the preferred CTRL-O HotKeys, as
  per standard UI elements.
  
  Revision  Changes    Path
  1.6       +3 -2      jakarta-log4j-sandbox/src/java/org/apache/log4j/chainsaw/FileLoadAction.java
  
  Index: FileLoadAction.java
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j-sandbox/src/java/org/apache/log4j/chainsaw/FileLoadAction.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- FileLoadAction.java	2 May 2003 04:27:19 -0000	1.5
  +++ FileLoadAction.java	6 May 2003 02:26:41 -0000	1.6
  @@ -39,7 +39,7 @@
      */
     public FileLoadAction(LogUI parent) {
       super("Load");
  -    putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_L, InputEvent.ALT_MASK));
  +    putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_O, InputEvent.CTRL_MASK));
       putValue(Action.MNEMONIC_KEY, new Integer(KeyEvent.VK_L));
       putValue(Action.SHORT_DESCRIPTION, "Loads an XML event file");
       putValue(Action.SMALL_ICON, new ImageIcon(ChainsawIcons.FILE_OPEN));
  @@ -58,7 +58,8 @@
     public void actionPerformed(ActionEvent e) {
   
       JFileChooser chooser = new JFileChooser();
  -
  +    chooser.setDialogTitle("Load Events from XML file...");
  +    
       chooser.setAcceptAllFileFilterUsed(true);
       
       chooser.setFileFilter(new FileFilter() {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org


Mime
View raw message