This commit is contained in:
2025-12-29 15:48:28 +00:00
parent cade3b10ad
commit f3b0831df3
@@ -52,9 +52,12 @@ public class PeopleView extends JPanel implements EditorRecord {
private final ComboBoxValModel m_ReasonModel;
/** Creates new form PeopleEditor
/**
* Creates new form PeopleEditor
*
* @param dlAdmin
* @param dirty */
* @param dirty
*/
public PeopleView(DataLogicAdmin dlAdmin, DirtyManager dirty) {
initComponents();
@@ -214,7 +217,6 @@ public class PeopleView extends JPanel implements EditorRecord {
m_jRole.setModel(m_RoleModel);
}
/**
*
*/
@@ -222,12 +224,14 @@ public class PeopleView extends JPanel implements EditorRecord {
public void refresh() {
}
/** This method is called from within the constructor to
/**
* This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
*/
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
// <editor-fold defaultstate="collapsed" desc="Generated
// Code">//GEN-BEGIN:initComponents
private void initComponents() {
nameLabel = new javax.swing.JLabel();
@@ -333,14 +337,12 @@ public class PeopleView extends JPanel implements EditorRecord {
private void webCBSecurityActionPerformed(java.awt.event.ActionEvent evt) {// GEN-FIRST:event_webCBSecurityActionPerformed
if (webCBSecurity.getSelectedIndex() == 0) {
if (JOptionPane.showConfirmDialog(this,
AppLocal.getIntString("message.cardnew"),
AppLocal.getIntString("title.editor"),
JOptionPane.YES_NO_OPTION,
JOptionPane.QUESTION_MESSAGE) == JOptionPane.YES_OPTION)
{
JOptionPane.QUESTION_MESSAGE) == JOptionPane.YES_OPTION) {
cardIdTextField.setText("C" + StringUtils.getCardNumber());
m_Dirty.setDirty(true);
}
@@ -351,8 +353,7 @@ public class PeopleView extends JPanel implements EditorRecord {
AppLocal.getIntString("message.cardremove"),
AppLocal.getIntString("title.editor"),
JOptionPane.YES_NO_OPTION,
JOptionPane.QUESTION_MESSAGE) == JOptionPane.YES_OPTION)
{
JOptionPane.QUESTION_MESSAGE) == JOptionPane.YES_OPTION) {
cardIdTextField.setText(null);
m_Dirty.setDirty(true);
}
@@ -387,7 +388,6 @@ public class PeopleView extends JPanel implements EditorRecord {
}
}// GEN-LAST:event_nameLabelMouseClicked
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JLabel cardIdLabel;
private javax.swing.JTextField cardIdTextField;
@@ -403,6 +403,7 @@ public class PeopleView extends JPanel implements EditorRecord {
private javax.swing.JLabel taxIdLabel;
private javax.swing.JTextField taxIdTextField;
private javax.swing.JLabel visiableLabel;
private com.alee.laf.combobox.WebComboBox webCBSecurity;
// End of variables declaration//GEN-END:variables
}