Update StolowkaZPM.java
This commit is contained in:
parent
e044ca1603
commit
1af2581a37
@ -16,6 +16,7 @@ import javax.swing.SwingConstants;
|
||||
import java.sql.Connection;
|
||||
import java.sql.PreparedStatement;
|
||||
import java.sql.ResultSet;
|
||||
import javax.swing.ImageIcon;
|
||||
|
||||
public class StolowkaZPM {
|
||||
|
||||
@ -76,6 +77,11 @@ public class StolowkaZPM {
|
||||
int ysize = (int) tk.getScreenSize().getHeight();
|
||||
frmStolowkaZpm.setSize(xsize, ysize);
|
||||
|
||||
JLabel lblNewLabel_1 = new JLabel("");
|
||||
lblNewLabel_1.setHorizontalAlignment(SwingConstants.CENTER);
|
||||
lblNewLabel_1.setIcon(new ImageIcon("C:\\myGo\\icon.png"));
|
||||
frmStolowkaZpm.getContentPane().add(lblNewLabel_1);
|
||||
|
||||
|
||||
lblNewLabel = new JLabel("\"Sto\u0142\u00F3wka ZPM\"");
|
||||
lblNewLabel.setFont(new Font("Tahoma", Font.PLAIN, 70));
|
||||
@ -97,12 +103,12 @@ public class StolowkaZPM {
|
||||
podajPINlabel.setHorizontalAlignment(SwingConstants.CENTER);
|
||||
frmStolowkaZpm.getContentPane().add(podajPINlabel);
|
||||
podajPINlabel.setFont(new Font("Tahoma", Font.PLAIN, 40));
|
||||
|
||||
JPasswordField pinView = new JPasswordField();
|
||||
pinView.setHorizontalAlignment(SwingConstants.CENTER);
|
||||
frmStolowkaZpm.getContentPane().add(pinView);
|
||||
pinView.setFont(new Font("Tahoma", Font.PLAIN, 50));
|
||||
pinView.setToolTipText("PIN");
|
||||
|
||||
JPasswordField pinView = new JPasswordField();
|
||||
pinView.setHorizontalAlignment(SwingConstants.CENTER);
|
||||
frmStolowkaZpm.getContentPane().add(pinView);
|
||||
pinView.setFont(new Font("Tahoma", Font.PLAIN, 50));
|
||||
pinView.setToolTipText("PIN");
|
||||
|
||||
JButton btnZaloguj = new JButton("Zaloguj");
|
||||
btnZaloguj.setBackground(Color.GREEN);
|
||||
@ -110,6 +116,9 @@ public class StolowkaZPM {
|
||||
btnZaloguj.setBounds(724, 298, 213, 69);
|
||||
frmStolowkaZpm.getContentPane().add(btnZaloguj);
|
||||
|
||||
JLabel lblNewLabel_2 = new JLabel("");
|
||||
frmStolowkaZpm.getContentPane().add(lblNewLabel_2);
|
||||
|
||||
rfidView.addActionListener(new ActionListener() {
|
||||
@SuppressWarnings("deprecation")
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
|
Loading…
Reference in New Issue
Block a user