I've never used a progress bar EVER. I just think it would be a nice addition to my plugin.
Is it possible to have a bar in indeterminate mode where, when a button is pressed, done is set to false and the bar animates until the action is complete at which point done = true?
So something like
private void simulateButtonActionPerformed(java.awt.event.ActionEvent evt) {
boolean done=false;
progressBar.(ANIMATES WHEN done==false);
... (complete actions);
done = true;
progressBar.(STOPS ANIMATION WHEN done == true);

New Topic/Question
Reply




MultiQuote




|