Hi,

It's probably better to ask on the seesaw mailing list [1] rather than
this more general list.

With the info you've given it's hard to tell, but I'd guess you're
setting the cursor and then doing a long-running operation in the UI
thread. When you do that, the cursor (and ui) is never updated. You'll
have to move the operation to another thread. Here's a rough sketch:

(do
  ; Set the cursor on the ui thread
  (seesaw/config! canvas :cursor :wait)
  (future
      (... something that takes a while on another thread ...)
      (invoke-later
         ; now restore the cursor on the ui thread.
        (seesaw/config! canvas :cursor :default))))

regards,
dave

[1] https://groups.google.com/forum/?fromgroups#!forum/seesaw-clj

On Sun, Aug 26, 2012 at 7:17 AM, Jim - FooBar(); <jimpil1...@gmail.com> wrote:
> another question...why won't this do anything?
>
> (seesaw/config! canvas :cursor :wait) ;;canvas is a result of (seesaw/canvas
> ... ... ...)
>
> I also tried
>
> (seesaw/config! (seesaw/to-root canvas) :cursor :wait)
>
> but the proxied JFrame does not support the :cursor option!
>
> what am I missing?
>
> thanks
> Jim
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to