Avance4.5 Ultima version con pantallas faltantes
This commit is contained in:
parent
e55d245551
commit
bfeb3e7be9
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue