SHARE
TWEET

Untitled

a guest Jun 19th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. JButton btnDodajPacjenta = new JButton("Dodaj Pacjenta");
  2.         btnDodajPacjenta.addActionListener(new ActionListener() {
  3.             public void actionPerformed(ActionEvent e) {
  4.                 walidujDanePacjentaDwa();
  5. ///////// jak zrobić żeby walidacja przeszła tylko w 1 wypadku?
  6.                 DataBase.AddPatient(Imie,Nazwisko,Pesel);
  7.                 DanePacjenta danePacjenta = new DanePacjenta(Imie,Nazwisko,wpisanyPesel.getText());
  8.                 danePacjenta.setVisible(true);
  9.                 setVisible(false);
  10.             }
  11.            
  12.         });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top