Hello!! i've the problem of the screen of the attach I need to situate the progressbar in the left and slightly higher. Anone can help me?
I'm using:
final Timer t = new Timer() {
float i;
@Override
public void run() {
final MessageBox box =
MessageBox.progress(
"Please wait",
"Loading items...",
"Initializing...");
final ProgressBar bar =
box.getProgressBar();
bar.updateProgress(i / 100,
(int) i + "% Complete");
i += 2;
if (ok == false) {
if (i > 95) {
i = 95;
}
} else {
if (i<=100) {
cancel();
box.close();
Info.display("Message",
"Items were loaded", "");
} else {
i = i + 10;
}
}
}
};
t.scheduleRepeating(500);
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.
