001 package com.croftsoft.core.gui;
002
003 import java.awt.*;
004
005 /*********************************************************************
006 * Library of static methods for manipulating Cursor objects.
007 *
008 * @version
009 * $Id: CursorLib.java,v 1.1 2006/11/29 18:04:42 croft Exp $
010 * @since
011 * 2006-11-29
012 * @author
013 * <a href="http://www.CroftSoft.com/">David Wallace Croft</a>
014 *********************************************************************/
015
016 public final class CursorLib
017 //////////////////////////////////////////////////////////////////////
018 //////////////////////////////////////////////////////////////////////
019 {
020
021 public static Cursor createInvisibleCursor ( )
022 //////////////////////////////////////////////////////////////////////
023 {
024 final Toolkit toolkit = Toolkit.getDefaultToolkit ( );
025
026 return toolkit.createCustomCursor (
027 toolkit.createImage ( "" ),
028 new Point ( ),
029 null );
030 }
031
032 //////////////////////////////////////////////////////////////////////
033 //////////////////////////////////////////////////////////////////////
034
035 private CursorLib ( ) { /* */ }
036
037 //////////////////////////////////////////////////////////////////////
038 //////////////////////////////////////////////////////////////////////
039 }