From bfeb3e7be9df5e56d0f852eb72638f2cf080378b Mon Sep 17 00:00:00 2001 From: Roberto Date: Mon, 11 Mar 2024 07:35:21 -0600 Subject: [PATCH] Avance4.5 Ultima version con pantallas faltantes --- ventana2.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ventana2.java b/ventana2.java index f80cc1f..068451f 100644 --- a/ventana2.java +++ b/ventana2.java @@ -24,16 +24,16 @@ public class ventana2 { JFrame frame = (JFrame) SwingUtilities.getWindowAncestor(panelV2); frame.dispose(); - JFrame registerFrame = new JFrame("Seleccionar asiento"); - registerFrame.setContentPane(new SeleccionarAsientoV()); - registerFrame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); - Dimension pantalla = Toolkit.getDefaultToolkit().getScreenSize(); + + // 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); - registerFrame.pack(); - registerFrame.setVisible(true); + frame.setLocationRelativeTo(null);*/ + //SeleccionarAsientoV.setVisible(true); } }); comprarBoletosButton.addActionListener(new ActionListener() {