Created
August 4, 2020 15:52
-
-
Save HashRaygoza/d1e1cce869bba439925aba8da8afa83e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class EventoOperacionSwingWorker implements ActionListener { | |
private final JProgressBar barra; | |
public EventoOperacionSwingWorker(JProgressBar b){ | |
barra = b; | |
} | |
@Override | |
public void actionPerformed(ActionEvent e) { | |
ProcesoReporte procesoReporte = new ProcesoReporte(); | |
EventoPropertyListener eventoPropertyListener = new EventoPropertyListener(barra); | |
procesoReporte.addPropertyChangeListener(eventoPropertyListener); | |
procesoReporte.execute(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment