Avance4.2
This commit is contained in:
parent
70f60810d0
commit
e391fe69c2
|
@ -3,7 +3,7 @@ import java.awt.event.ActionEvent;
|
|||
import java.awt.event.ActionListener;
|
||||
|
||||
public class ventana1 {
|
||||
JPanel panel;
|
||||
JPanel panel,panel2;
|
||||
private JTextField usuariol;
|
||||
private JButton iniciarBoton;
|
||||
private JButton registerBoton;
|
||||
|
@ -33,7 +33,7 @@ public class ventana1 {
|
|||
|
||||
// Mostrar el panel de inicio de sesión
|
||||
JFrame principalFrame = new JFrame("Principal");
|
||||
principalFrame.setContentPane(new ventana2().panel);
|
||||
principalFrame.setContentPane(new ventana2().panelV2);
|
||||
principalFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
principalFrame.pack();
|
||||
principalFrame.setVisible(true);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import javax.swing.*;
|
||||
|
||||
public class ventana2 {
|
||||
JPanel panel;
|
||||
JPanel panelV2;
|
||||
private JButton comprarBoletosButton;
|
||||
private JButton carteleraButton;
|
||||
private JButton cerrarSesiónButton;
|
||||
|
|
Loading…
Reference in New Issue