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);
|
JFrame frame = (JFrame) SwingUtilities.getWindowAncestor(panelV2);
|
||||||
frame.dispose();
|
frame.dispose();
|
||||||
|
|
||||||
JFrame registerFrame = new JFrame("Seleccionar asiento");
|
|
||||||
registerFrame.setContentPane(new SeleccionarAsientoV());
|
// Por terminar
|
||||||
registerFrame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
|
//SeleccionarAsientoV sala = new SeleccionarAsientoV();
|
||||||
Dimension pantalla = Toolkit.getDefaultToolkit().getScreenSize();
|
//SeleccionarAsientoV.
|
||||||
|
/*Dimension pantalla = Toolkit.getDefaultToolkit().getScreenSize();
|
||||||
int height = pantalla.height;
|
int height = pantalla.height;
|
||||||
int width = pantalla.width;
|
int width = pantalla.width;
|
||||||
frame.setSize(width/2, height/2);
|
frame.setSize(width/2, height/2);
|
||||||
frame.setLocationRelativeTo(null);
|
frame.setLocationRelativeTo(null);*/
|
||||||
registerFrame.pack();
|
//SeleccionarAsientoV.setVisible(true);
|
||||||
registerFrame.setVisible(true);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
comprarBoletosButton.addActionListener(new ActionListener() {
|
comprarBoletosButton.addActionListener(new ActionListener() {
|
||||||
|
|
Loading…
Reference in New Issue