UOCL-285: payment screen hanging

This commit is contained in:
2025-01-06 12:40:01 +00:00
parent ec9a49ade3
commit ac480df2a7
5 changed files with 5 additions and 5 deletions
@@ -308,7 +308,7 @@ public class CustomerCSVImport extends JPanel implements JPanelView {
} }
}; };
// pbWorker.execute(); // pbWorker.execute();
customExecutor.execute(pbWorker); customExecutor.submit(pbWorker);
} }
/** /**
@@ -324,7 +324,7 @@ public class JPanelCSVImport extends JPanel implements JPanelView {
} }
}; };
//pbWorker.execute(); //pbWorker.execute();
customExecutor.execute(pbWorker); customExecutor.submit(pbWorker);
} }
/** /**
@@ -543,7 +543,7 @@ public class StockQtyImport extends JPanel implements JPanelView {
} }
}; };
//pbWorker.execute(); //pbWorker.execute();
customExecutor.execute(pbWorker); customExecutor.submit(pbWorker);
} }
/** /**
@@ -749,7 +749,7 @@ public abstract class JPaymentSelect extends javax.swing.JDialog
}; };
//worker.execute(); //worker.execute();
customExecutor.execute(worker); customExecutor.submit(worker);
} }
catch (Exception ex) { catch (Exception ex) {
System.out.println(ex.getMessage()); System.out.println(ex.getMessage());
@@ -2735,7 +2735,7 @@ public final class Transfer extends JPanel implements JPanelView {
}; };
//worker.execute(); //worker.execute();
customExecutor.execute(worker); customExecutor.submit(worker);
} }
System.gc(); System.gc();