java - Rotating wheel in Swing -
i have searched here did not answer (though feel should here).
i want perform activity(but don't know how time take complete) , while task being run, want show rotating wheel user message "processing...please wait". once activity gets completed,rotating wheel should disappear.
how implement feature?
as seem recall, glasspane in swing can used to:
- intercept user input.
- display image/animation
someone implemented this: http://www.curious-creature.org/2005/02/15/wait-with-style-in-swing/
there download link source code @ top of page.
also at: http://docs.oracle.com/javase/tutorial/uiswing/components/rootpane.html
it explains glasspane in more detail.
Comments
Post a Comment