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/src/java/org/apache/log4j/chainsaw ChainsawColumns.java
Date Fri, 19 Sep 2003 03:56:13 GMT
psmith      2003/09/18 20:56:13

  Modified:    src/java/org/apache/log4j/chainsaw ChainsawColumns.java
  Log:
  added a custom cursor.
  
  Revision  Changes    Path
  1.4       +13 -0     jakarta-log4j/src/java/org/apache/log4j/chainsaw/ChainsawColumns.java
  
  Index: ChainsawColumns.java
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/chainsaw/ChainsawColumns.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ChainsawColumns.java	17 Sep 2003 01:14:09 -0000	1.3
  +++ ChainsawColumns.java	19 Sep 2003 03:56:13 -0000	1.4
  @@ -49,9 +49,16 @@
   
   package org.apache.log4j.chainsaw;
   
  +import java.awt.Cursor;
  +import java.awt.Point;
  +import java.awt.Toolkit;
   import java.util.ArrayList;
   import java.util.List;
   
  +import javax.swing.ImageIcon;
  +
  +import org.apache.log4j.chainsaw.icons.ChainsawIcons;
  +
   
   /**
    * @author Paul Smith <psmith@apache.org>
  @@ -93,6 +100,12 @@
     public static final int INDEX_LINE_COL_NAME = 12;
     public static final int INDEX_PROPERTIES_COL_NAME = 13;
     public static final int INDEX_ID_COL_NAME = 14;
  +
  +
  + public static final Cursor CURSOR_FOCUS_ON;
  + static{
  + 	CURSOR_FOCUS_ON = Toolkit.getDefaultToolkit().createCustomCursor(new ImageIcon(ChainsawIcons.WINDOW_ICON).getImage(),
new Point(3,3), "FocusOn");
  + }
   
     private ChainsawColumns() {
     }
  
  
  

---------------------------------------------------------------------
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