Subscribe

RSS Feed (xml)

Powered By

Place Your Ads Here

Change Cursor in Java


Here is the code to change mouse cursor on the jframe...
using java.awt it is just two line code
I have done it on jbutton action performed event..you can use it as per your requirement




Cursor cr=newCursor(java.awt.Cursor.WAIT_CURSOR);
 CursorChangeApp.getApplication().getMainFrame().setCursor(cr);

Or if you want the full source code download it here

0 comments: