Avance4.5 Ultima version con pantallas faltantes

This commit is contained in:
Roberto 2024-03-11 07:35:21 -06:00
parent e55d245551
commit bfeb3e7be9
1 changed files with 7 additions and 7 deletions

View File

@ -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() {