private void m2ComboActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_m2ComboActionPerformed
updateResult();
}//GEN-LAST:event_m2ComboActionPerformed
private void workTypesComboItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_workTypesComboItemStateChanged
DirectoryWorkTypeItem wt = (DirectoryWorkTypeItem) workTypesCombo.getSelectedItem();
if(wt != null) {
int beg = wt.getDefaultBegin();
if(beg > 0) {
h1Combo.setSelectedItem(new Integer(beg/60));
m1Combo.setSelectedItem(new Integer(beg%60));
}
int end = wt.getDefaultEnd();
if(end > 0) {
h2Combo.setSelectedItem(new Integer(end/60));
m2Combo.setSelectedItem(new Integer(end%60));
}
}