Update DrukujBilet.java
This commit is contained in:
parent
3fae5fa42d
commit
da00218215
@ -50,7 +50,8 @@ public class DrukujBilet {
|
|||||||
MenuStolowkaZPM.setBounds(100, 100, 450, 300);
|
MenuStolowkaZPM.setBounds(100, 100, 450, 300);
|
||||||
MenuStolowkaZPM.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
MenuStolowkaZPM.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||||
MenuStolowkaZPM.getContentPane().setLayout(null);
|
MenuStolowkaZPM.getContentPane().setLayout(null);
|
||||||
MenuStolowkaZPM.setSize(1700, 900);
|
MenuStolowkaZPM.setResizable(false);
|
||||||
|
MenuStolowkaZPM.setSize(650, 700);
|
||||||
|
|
||||||
JLabel lblMenu = new JLabel("Menu");
|
JLabel lblMenu = new JLabel("Menu");
|
||||||
lblMenu.setBackground(Color.GREEN);
|
lblMenu.setBackground(Color.GREEN);
|
||||||
@ -77,7 +78,8 @@ public class DrukujBilet {
|
|||||||
JButton btnNewButton = new JButton("Wybierz zaznaczone / Drukuj bilet");
|
JButton btnNewButton = new JButton("Wybierz zaznaczone / Drukuj bilet");
|
||||||
btnNewButton.addActionListener(new ActionListener() {
|
btnNewButton.addActionListener(new ActionListener() {
|
||||||
public void actionPerformed(ActionEvent e) {
|
public void actionPerformed(ActionEvent e) {
|
||||||
MenuStolowkaZPM.setVisible(false);
|
|
||||||
|
//MenuStolowkaZPM.setVisible(false);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
btnNewButton.setBounds(32, 160, 340, 43);
|
btnNewButton.setBounds(32, 160, 340, 43);
|
||||||
|
Loading…
Reference in New Issue
Block a user