Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Apache License 

import java.awt.*;

public class Main {
    private static Cursor mHandCursor;

    public static Cursor getHandCursor() {
        if (mHandCursor == null) {
            mHandCursor = Cursor.getPredefinedCursor(Cursor.HAND_CURSOR);
        }

        return mHandCursor;
    }
}