Werkzeug um Belege zu scannen, Texterkennung durchzuführen und Belege sortiert abzulegen
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

35 lines
803 B

package de.srsoftware.belegscanner.gui;
import javax.swing.BoxLayout;
import javax.swing.JLabel;
import javax.swing.JPanel;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class StatusBar extends JPanel {
private static final Logger LOG = LoggerFactory.getLogger(StatusBar.class);
private static final long serialVersionUID = 8102800846089594705L;
private JLabel path;
private JLabel action;
public StatusBar() {
setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
add(action = new JLabel("Bereit."));
add(path = new JLabel("Kein Pfad gewält."));
}
public StatusBar setPath(String path) {
LOG.debug("setPath({})",path);
this.path.setText(path);
return this;
}
public StatusBar setAction(String action) {
this.action.setText(action);
return this;
}
}