FileDocCategorySizeDatePackage
Cursors.javaAPI DocAzureus 3.0.3.41999Tue May 22 12:20:20 BST 2007org.gudy.azureus2.ui.swt.mainwindow

Cursors

public class Cursors extends Object
author
Olivier Chalouhi

Fields Summary
public static org.eclipse.swt.graphics.Cursor
handCursor
Constructors Summary
Methods Summary
public static voiddispose()

		try {
			Utils.execSWTThread(new AERunnable() {
				public void runSupport() {
					if (handCursor != null && !handCursor.isDisposed()) {
						handCursor.dispose();
					}
				}
			});
		} catch (Exception e) {
			Debug.out("Cursor Destroy", e);
		}
	
public static voidinit()


	    
		try {
			Utils.execSWTThread(new AERunnable() {
				public void runSupport() {
					Display display = SWTThread.getInstance().getDisplay();
					if (display != null && !display.isDisposed()) {
						handCursor = new Cursor(display, SWT.CURSOR_HAND);
					}
				}
			});
		} catch (Exception e) {
			Debug.out("Cursor Init", e);
		}