import com.axyus.generator.pespj.ui.renderer.PjComboBoxRenderer;
import com.axyus.generator.pespj.ui.renderer.PairComboBoxRenderer;
import com.axyus.generator.pespj.GeneratorPesPjWizardProcess;
-import com.axyus.generator.pespj.utilities.CursorWaiter;
import com.axyus.generator.pespj.utils.ConfigHandler;
import com.axyus.generator.pespj.utils.ControlUtils;
import com.axyus.generator.pespj.utils.GeneratePesUtils;
if(canAddRefCompta()){
if (!isModeEdition()) {
try {
- CursorWaiter.setBusy(this, true);
-
+ setBusy(true);
TPESRefCompta refCompta = GeneratePesUtils.generateRefCompta((Pair) domaines.getSelectedItem(), exercice.getText(),
(Pair) type_piece.getSelectedItem(), num_piece.getText(),
num_ligne_piece.getText(), null);
refreshReferencesComptables();
} finally {
- CursorWaiter.setBusy(this, false);
+ setBusy(false);
resetChamps();
}
} else {
try {
- CursorWaiter.setBusy(this, true);
+ setBusy(true);
int selectedRow = tableRefsComptas.getSelectedRow();
TableModelReferenceComptable tableModel = ((TableModelReferenceComptable) tableRefsComptas.getModel());
refreshReferencesComptables();
} finally {
- CursorWaiter.setBusy(this, false);
+ setBusy(false);
resetChamps();
inModeEdition(false);
}