You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by Mathias Versichele <ma...@gmail.com> on 2009/03/18 19:11:35 UTC
Changing the cursor
Hello, calling the setCursor(Cursor.WAIT) method doesn't have any
effect. Just to be clear, I'm calling this from within the gui. Also,
calling setEnabled(false) for any component immediately renders
without any trouble. What might I be doing wrong ?
--
ir. Mathias Versichele
Oudburgstraat 16
9240 Zele
0485/16.07.08
Re: Changing the cursor
Posted by Greg Brown <gk...@mac.com>.
Here's the reply I posted to this earlier:
To solve your problem, I'd suggest using a StackPane. Make your window content the first component, and then add a component that will act as a "glass pane" on top of that; make this component invisible by default and set its cursor to the WAIT cursor. When you want to "block" your app, make the glass pane visible. This will have the effect of showing the WAIT cursor as well as blocking mouse input to your app.
Greg
On Wednesday, March 18, 2009, at 02:11PM, "Mathias Versichele" <ma...@gmail.com> wrote:
>Hello, calling the setCursor(Cursor.WAIT) method doesn't have any
>effect. Just to be clear, I'm calling this from within the gui. Also,
>calling setEnabled(false) for any component immediately renders
>without any trouble. What might I be doing wrong ?
>
>--
>ir. Mathias Versichele
>Oudburgstraat 16
>9240 Zele
>0485/16.07.08
>