diff --git a/out/production/mezontleTeam/ventana1$1.class b/out/production/mezontleTeam/ventana1$1.class index 9871314..542a2c1 100644 Binary files a/out/production/mezontleTeam/ventana1$1.class and b/out/production/mezontleTeam/ventana1$1.class differ diff --git a/out/production/mezontleTeam/ventana1$2.class b/out/production/mezontleTeam/ventana1$2.class index 8d88370..38d86af 100644 Binary files a/out/production/mezontleTeam/ventana1$2.class and b/out/production/mezontleTeam/ventana1$2.class differ diff --git a/out/production/mezontleTeam/ventana1.class b/out/production/mezontleTeam/ventana1.class index 9cbf33f..b0dc6cd 100644 Binary files a/out/production/mezontleTeam/ventana1.class and b/out/production/mezontleTeam/ventana1.class differ diff --git a/ventana2.java b/ventana2.java index 53aeb4c..068451f 100644 --- a/ventana2.java +++ b/ventana2.java @@ -1,4 +1,7 @@ import javax.swing.*; +import java.awt.*; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; public class ventana2 { JPanel panelV2; @@ -15,5 +18,29 @@ public class ventana2 { public ventana2 (){ + cerrarSesiĆ³nButton.addActionListener(new ActionListener() { + @Override + public void actionPerformed(ActionEvent e) { + JFrame frame = (JFrame) SwingUtilities.getWindowAncestor(panelV2); + frame.dispose(); + + + // Por terminar + //SeleccionarAsientoV sala = new SeleccionarAsientoV(); + //SeleccionarAsientoV. + /*Dimension pantalla = Toolkit.getDefaultToolkit().getScreenSize(); + int height = pantalla.height; + int width = pantalla.width; + frame.setSize(width/2, height/2); + frame.setLocationRelativeTo(null);*/ + //SeleccionarAsientoV.setVisible(true); + } + }); + comprarBoletosButton.addActionListener(new ActionListener() { + @Override + public void actionPerformed(ActionEvent e) { + + } + }); } }