UOCL-285: payment screen hanging
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user