Starting with JMP 11, there is a JSL function to create a spinning wheel:
New Window( "Example", Busy Light( <<automatic ) );
Messages for the busylightbox it creates are Advance, Disable, automatic, size, and RPM.
Automatic turns it on so that it spins by itself. Automatic(0) stops the spin.
If you don't turn it on, you can use advance, perhaps in a while loop.
Disable hides the busylightbox. You can't get it back. Might be useful just to hide once your operation is finished, if it's in a window you continue to use.
Size only works as an argument to the Busy Light function. Size takes 2 comma-separated arguments - x and y in pixels. I don't recommend going very large, as it's just a little picture and gets very bitmapped at larger sizes.
RPM controls how fast the wheel spins when on automatic.
You can't change the colors - it's just a little picture.
Example:
New Window( "Example",
blb = Busy Light( <<automatic, size(30, 30) )
);