CursorLib.java :  » Game » easy-game-client » com » croftsoft » core » gui » Java Open Source

Java Open Source » Game » easy game client 
easy game client » com » croftsoft » core » gui » CursorLib.java
     package com.croftsoft.core.gui;

     import java.awt.*;

     /*********************************************************************
     * Library of static methods for manipulating Cursor objects.
     *
     * @version
     *   $Id: CursorLib.java,v 1.1 2006/11/29 18:04:42 croft Exp $
     * @since
     *   2006-11-29
     * @author
     *   <a href="http://www.CroftSoft.com/">David Wallace Croft</a>
     *********************************************************************/

     public final class  CursorLib
     //////////////////////////////////////////////////////////////////////
     //////////////////////////////////////////////////////////////////////
     {

     public static Cursor  createInvisibleCursor ( )
     //////////////////////////////////////////////////////////////////////
     {
       final Toolkit  toolkit = Toolkit.getDefaultToolkit ( );
       
       return toolkit.createCustomCursor (
         toolkit.createImage ( "" ),
         new Point ( ),
         null );
     }

     //////////////////////////////////////////////////////////////////////
     //////////////////////////////////////////////////////////////////////

     private  CursorLib ( ) { /* */ }

     //////////////////////////////////////////////////////////////////////
     //////////////////////////////////////////////////////////////////////
     }
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.