fixed some checkstyle issues

This commit is contained in:
hneemann 2019-04-03 08:54:41 +02:00
parent fcc5e8dfad
commit 010c4574a1
2 changed files with 14 additions and 5 deletions

View File

@ -130,6 +130,12 @@ public class ExpressionCreator {
}
}
/**
* Sets the progress listener to use
*
* @param progressListener the progress listener
* @return this for chained calls
*/
public ExpressionCreator setProgressListener(ProgressListener progressListener) {
this.progressListener = progressListener;
return this;

View File

@ -11,6 +11,9 @@ import de.neemann.gui.Screen;
import javax.swing.*;
import java.awt.*;
/**
* A simple progress dialog which is used by the {@link ExpressionCreator}
*/
public class ProgressDialog extends JDialog implements ExpressionCreator.ProgressListener {
private final JProgressBar bar;
private int prog;