Update StolowkaZPM.java

This commit is contained in:
s441433 2019-01-11 05:18:16 +01:00
parent 0e4c131649
commit a9ad9f24d1

View File

@ -22,6 +22,8 @@ public class StolowkaZPM {
private JFrame frmStolowkaZpm;
private JLabel lblNewLabel;
protected String Dalej;
protected String imie;
protected static int IDuzytkownika;
/**
* Launch the application.
@ -30,6 +32,8 @@ public class StolowkaZPM {
EventQueue.invokeLater(new Runnable() {
public void run() {
try {
//DrukujBilet one = new DrukujBilet();
//one.setName(IDuzytkownika);
StolowkaZPM window = new StolowkaZPM();
window.frmStolowkaZpm.setVisible(true);
} catch (Exception e) {
@ -42,8 +46,7 @@ public class StolowkaZPM {
Connection conn=null;
protected String imie;
protected int IDuzytkownika;
public StolowkaZPM() {
initialize1();
@ -122,6 +125,7 @@ public class StolowkaZPM {
String Dalej = rFID.getString("PIN");
imie = rFID.getString("User");
IDuzytkownika = rFID.getInt("IDusers");
//JOptionPane.showMessageDialog(null, IDuzytkownika);
int count = 0;
while (rFID.next()) {
@ -171,4 +175,5 @@ public class StolowkaZPM {
rfidView.setText("");
}
}});
}}
}
}