Re: How to make a hourglass pointer?

2012-04-10 Thread Kei Kei
I use the following code public class ShowHourGlass extends FlowPanel { Button showHourGlass = new Button(Show HourGlass); protected void onLoad(){ this.add(showHourGlass); showHourGlass.addClickHandler(new ClickHandler(){ @Override public

Re: How to make a hourglass pointer?

2012-04-10 Thread pop.ionut84
Why don't you display a Please Wait popup for the lengthy process? You can add to that popup an animated gif and message. On Tuesday, April 3, 2012 1:07:10 PM UTC+3, tong123123 wrote: For lengthy process, I want to set the mouse pointer to hourglass, how to do it in GWT? -- You received

Re: How to make a hourglass pointer?

2012-04-10 Thread Jens
3) If the mouse cursor not leave the button, the cursor is still in hand shape and the user can continue click the button many times. The cursor is still a hand because buttons, links, ... have their own curser css rule. You would have to change these as well. Also you can still click

How to make a hourglass pointer?

2012-04-03 Thread tong123123
For lengthy process, I want to set the mouse pointer to hourglass, how to do it in GWT? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: How to make a hourglass pointer?

2012-04-03 Thread Jens
You have to set the CSS rule cursor:wait or cursor:progress on the element where the mouse cursor should be changed. If it should change for the whole site, you would add it to the body tag (accessible through RootPanel.get()) or to a glasspane like div that you maybe already have for