private javax.swing.JButton btnCancel; private javax.swing.JButton btnCheckID; private javax.swing.JButton btnRdy; private javax.swing.JComboBox cbType; private javax.persistence.EntityManager entityManager; private javax.swing.JLabel jLabel1; private javax.swing.JLabel jLabel2; private javax.swing.JLabel jLabel3; private javax.swing.JLabel jLabel4; private javax.swing.JLabel jLabel5; private javax.swing.JLabel jLabel8; private javax.swing.JLabel lastname; private javax.swing.JLabel lblResult; private javax.swing.JLabel name; private java.util.List plansList; private javax.persistence.Query plansQuery; private javax.swing.JLabel surename; private javax.swing.JTextField tId; private javax.swing.JTextField tIp; public void contractInserted(){ tIp.setText("????????? ? ????????!"); btnRdy.setText("???????"); } private void closeMe(){ this.setVisible(false); this.dispose(); } public void contractInsertError(String s){ tIp.setText("?????? ??? ?????????"+s); btnRdy.setText("???????"); } public void userNotFound(){ System.out.println("in user not found"); lblResult.setText("?? ? ???????"); tId.setText(""); } public void userFound(String _name,String _surename,String _lastname){ System.out.println("UserFound:"+_name+_surename+_lastname); tId.setEnabled(false); btnRdy.setEnabled(true); name.setText(_name); surename.setText(_surename); lastname.setText(_lastname); }