2008. 7. 22.

이클립스개발/SWT 커서 모양 바꾸기

특정 형태로의 커서 설정

Shell shell = this.getSite().getShell();
Cursor cursor = new Cursor(shell.getDisplay(), SWT.CURSOR_WAIT);
shell.setCursor(cursor);


설정했던 커서 해제(SWT기본 커서로 복원)

Shell shell = this.getSite().getShell();
shell.setCursor(null);

댓글 없음: