FileDocCategorySizeDatePackage
PackProgressMonitor.javaAPI DocExample577Tue Feb 21 12:45:18 GMT 2006None

PackProgressMonitor

public class PackProgressMonitor extends ProgressMonitor implements PropertyChangeListener

Fields Summary
Constructors Summary
public PackProgressMonitor(Component parent)

    super(parent, null, "Packing", -1, 100);
  
Methods Summary
public voidpropertyChange(java.beans.PropertyChangeEvent event)

    if (event.getPropertyName().equals(Pack200.Packer.PROGRESS)) {
      String newValue = (String) event.getNewValue();
      int value = Integer.parseInt(newValue);
      this.setProgress(value);
    }