Mobile Universe

Programming for Android and iOS

Forum

Post Reply
Forum Home > Java development forum > Sticky: GUI Examples

Georgi Christov
Site Owner
Posts: 61

        You can post your GUI programs, links, examples or suggestions on this page. Please include comments where possible so that everyone knows what's going on.

--

"My belief is stronger than your doubt"

November 12, 2009 at 7:58 AM Flag Quote & Reply

Georgi Christov
Site Owner
Posts: 61

        Here's how to change the cursor to a different predefined one:


import java.awt.Cursor;


...

// Setting cursor for any Component:

component.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));

doProcessing();

component.setCursor(Cursor.getDefaultCursor());

...


        I needed this and did some research on how to do it.

--

"My belief is stronger than your doubt"

August 29, 2010 at 9:41 AM Flag Quote & Reply

You must login to post.