S
String v =
Gast
Wie füge ich ein lade balken in mein applet ein?
IRunnableWithProgress runTask = new IRunnableWithProgress() {
public void run(IProgressMonitor monitor) {
monitor.beginTask("Mach was...", IProgressMonitor.UNKNOWN);
// Hier kommt der auszuführende code
monitor.done();
}
};
IRunnableContext parseDialog = new ProgressMonitorDialog(getSite().getShell());
try {
parseDialog.run(true, false, runTask );
} catch (InvocationTargetException ite) {
} catch (InterruptedException ie) {
}