mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-03 16:05:13 +00:00
Added Checkstyle to build process and fixing checkstyle to all com.src.jpexs classes
This commit is contained in:
@@ -54,16 +54,14 @@ public class MainFrameStatusPanel extends JPanel {
|
||||
private int blinkPos;
|
||||
|
||||
private CancellableWorker currentWorker;
|
||||
|
||||
|
||||
private String oldStatus = "";
|
||||
|
||||
|
||||
private boolean statusHidden = false;
|
||||
|
||||
public boolean isStatusHidden() {
|
||||
return statusHidden;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public MainFrameStatusPanel(MainPanel mainPanel) {
|
||||
this.mainPanel = mainPanel;
|
||||
@@ -123,15 +121,15 @@ public class MainFrameStatusPanel extends JPanel {
|
||||
|
||||
public CancellableWorker getCurrentWorker() {
|
||||
return currentWorker;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public void setWorkStatusHidden(String s, CancellableWorker worker) {
|
||||
currentWorker = worker;
|
||||
cancelButton.setVisible(worker != null);
|
||||
oldStatus = s;
|
||||
statusHidden = true;
|
||||
}
|
||||
|
||||
|
||||
public void showOldStatus() {
|
||||
if (oldStatus.isEmpty()) {
|
||||
loadingPanel.setVisible(false);
|
||||
@@ -140,7 +138,7 @@ public class MainFrameStatusPanel extends JPanel {
|
||||
}
|
||||
statusLabel.setText(oldStatus);
|
||||
}
|
||||
|
||||
|
||||
public void setWorkStatus(String s, CancellableWorker worker) {
|
||||
if (s.isEmpty()) {
|
||||
loadingPanel.setVisible(false);
|
||||
|
||||
Reference in New Issue
Block a user