From 45a21fb60c358bac8c421a3659c6013b467f74d3 Mon Sep 17 00:00:00 2001 From: xFractu Date: Sun, 17 Mar 2024 11:53:20 -0600 Subject: [PATCH] avance 4 --- .../src/Vista/VentanaConciertos.form | 1613 +++++++++++++++++ .../src/Vista/VentanaConciertos.java | 1532 ++++++++++++++++ 2 files changed, 3145 insertions(+) create mode 100644 ProyectoConciertoApp/src/Vista/VentanaConciertos.form create mode 100644 ProyectoConciertoApp/src/Vista/VentanaConciertos.java diff --git a/ProyectoConciertoApp/src/Vista/VentanaConciertos.form b/ProyectoConciertoApp/src/Vista/VentanaConciertos.form new file mode 100644 index 0000000..d6ab3a0 --- /dev/null +++ b/ProyectoConciertoApp/src/Vista/VentanaConciertos.form @@ -0,0 +1,1613 @@ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ProyectoConciertoApp/src/Vista/VentanaConciertos.java b/ProyectoConciertoApp/src/Vista/VentanaConciertos.java new file mode 100644 index 0000000..7668ccb --- /dev/null +++ b/ProyectoConciertoApp/src/Vista/VentanaConciertos.java @@ -0,0 +1,1532 @@ +/* + * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license + * Click nbfs://nbhost/SystemFileSystem/Templates/GUIForms/JFrame.java to edit this template + */ +package Vista; + +import java.awt.BorderLayout; +import java.awt.Color; +import javax.swing.JPanel; +import org.netbeans.lib.awtextra.AbsoluteConstraints; + +/** + * + * @author mario + */ +public class VentanaConciertos extends javax.swing.JFrame { + + /** + * Creates new form VentanaConciertos + */ + JPanel panelPrincipal = new JPanel(); + + // Creamos una instancia del panelAsientos + panelAsientos panelAsientos1; + + public VentanaConciertos() { + initComponents(); + setResizable(false); + panelMapaSala.setVisible(true); + panelMapaAsientos.add(panelPrincipal); + panelPrincipal.setLayout(new BorderLayout()); + // Creamos una instancia del panelAsientos + + + } + + /** + * This method is called from within the constructor to initialize the form. + * WARNING: Do NOT modify this code. The content of this method is always + * regenerated by the Form Editor. + */ + @SuppressWarnings("unchecked") + // //GEN-BEGIN:initComponents + private void initComponents() { + + Principal = new javax.swing.JPanel(); + barraSuperior = new javax.swing.JPanel(); + imgConcierto = new javax.swing.JLabel(); + banda = new javax.swing.JLabel(); + jLabel12 = new javax.swing.JLabel(); + fondoportada = new javax.swing.JLabel(); + panelSeleccion = new javax.swing.JPanel(); + panelMapaAsientos = new javax.swing.JPanel(); + panelMapaSala = new javax.swing.JPanel(); + jPanel2 = new javax.swing.JPanel(); + F1 = new javax.swing.JPanel(); + jLabel2 = new javax.swing.JLabel(); + F2 = new javax.swing.JPanel(); + jLabel3 = new javax.swing.JLabel(); + F3 = new javax.swing.JPanel(); + jLabel4 = new javax.swing.JLabel(); + F4 = new javax.swing.JPanel(); + jLabel5 = new javax.swing.JLabel(); + F5 = new javax.swing.JPanel(); + jLabel6 = new javax.swing.JLabel(); + E1 = new javax.swing.JPanel(); + jLabel7 = new javax.swing.JLabel(); + E5 = new javax.swing.JPanel(); + jLabel11 = new javax.swing.JLabel(); + E4 = new javax.swing.JPanel(); + jLabel10 = new javax.swing.JLabel(); + E2 = new javax.swing.JPanel(); + jLabel8 = new javax.swing.JLabel(); + E3 = new javax.swing.JPanel(); + jLabel9 = new javax.swing.JLabel(); + D1 = new javax.swing.JPanel(); + jLabel27 = new javax.swing.JLabel(); + D4 = new javax.swing.JPanel(); + jLabel15 = new javax.swing.JLabel(); + D2 = new javax.swing.JPanel(); + jLabel13 = new javax.swing.JLabel(); + D3 = new javax.swing.JPanel(); + jLabel14 = new javax.swing.JLabel(); + C1 = new javax.swing.JPanel(); + jLabel16 = new javax.swing.JLabel(); + C2 = new javax.swing.JPanel(); + jLabel17 = new javax.swing.JLabel(); + C3 = new javax.swing.JPanel(); + jLabel18 = new javax.swing.JLabel(); + C4 = new javax.swing.JPanel(); + jLabel19 = new javax.swing.JLabel(); + B1 = new javax.swing.JPanel(); + jLabel20 = new javax.swing.JLabel(); + B2 = new javax.swing.JPanel(); + jLabel21 = new javax.swing.JLabel(); + B3 = new javax.swing.JPanel(); + jLabel22 = new javax.swing.JLabel(); + B4 = new javax.swing.JPanel(); + jLabel23 = new javax.swing.JLabel(); + A1 = new javax.swing.JPanel(); + jLabel24 = new javax.swing.JLabel(); + A2 = new javax.swing.JPanel(); + jLabel25 = new javax.swing.JLabel(); + A3 = new javax.swing.JPanel(); + jLabel26 = new javax.swing.JLabel(); + jPanel3 = new javax.swing.JPanel(); + jLabel1 = new javax.swing.JLabel(); + jPanel1 = new javax.swing.JPanel(); + jScrollPane1 = new javax.swing.JScrollPane(); + jPanel4 = new javax.swing.JPanel(); + jPanel5 = new javax.swing.JPanel(); + jButton1 = new javax.swing.JButton(); + + setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); + + Principal.setBackground(new java.awt.Color(255, 255, 255)); + + barraSuperior.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout()); + + imgConcierto.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Vista/weeknd.jpg"))); // NOI18N + imgConcierto.setText("ImgConcierto"); + barraSuperior.add(imgConcierto, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 10, 196, 110)); + + banda.setFont(new java.awt.Font("Segoe UI", 1, 24)); // NOI18N + banda.setForeground(new java.awt.Color(255, 255, 255)); + banda.setText("The Weeknd"); + barraSuperior.add(banda, new org.netbeans.lib.awtextra.AbsoluteConstraints(230, 20, 196, 44)); + + jLabel12.setFont(new java.awt.Font("Segoe UI", 0, 18)); // NOI18N + jLabel12.setForeground(new java.awt.Color(255, 255, 255)); + jLabel12.setText("dom, 17 de mar de 2024, 19:00 "); + barraSuperior.add(jLabel12, new org.netbeans.lib.awtextra.AbsoluteConstraints(230, 70, 300, 30)); + + fondoportada.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Vista/weekndfondo.jpg"))); // NOI18N + barraSuperior.add(fondoportada, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 1200, 130)); + + panelSeleccion.setBackground(new java.awt.Color(255, 255, 255)); + + panelMapaAsientos.setBackground(new java.awt.Color(255, 255, 255)); + + jPanel2.setBackground(new java.awt.Color(221, 221, 221)); + + F1.setBackground(new java.awt.Color(46, 90, 214)); + F1.addMouseListener(new java.awt.event.MouseAdapter() { + public void mouseEntered(java.awt.event.MouseEvent evt) { + F1MouseEntered(evt); + } + public void mouseExited(java.awt.event.MouseEvent evt) { + F1MouseExited(evt); + } + }); + + jLabel2.setFont(new java.awt.Font("Segoe UI", 1, 24)); // NOI18N + jLabel2.setForeground(new java.awt.Color(255, 255, 255)); + jLabel2.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); + jLabel2.setText("F1"); + + javax.swing.GroupLayout F1Layout = new javax.swing.GroupLayout(F1); + F1.setLayout(F1Layout); + F1Layout.setHorizontalGroup( + F1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(F1Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + F1Layout.setVerticalGroup( + F1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(F1Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + + F2.setBackground(new java.awt.Color(46, 90, 214)); + F2.addMouseListener(new java.awt.event.MouseAdapter() { + public void mouseEntered(java.awt.event.MouseEvent evt) { + F2MouseEntered(evt); + } + public void mouseExited(java.awt.event.MouseEvent evt) { + F2MouseExited(evt); + } + }); + + jLabel3.setFont(new java.awt.Font("Segoe UI", 1, 24)); // NOI18N + jLabel3.setForeground(new java.awt.Color(255, 255, 255)); + jLabel3.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); + jLabel3.setText("F2"); + + javax.swing.GroupLayout F2Layout = new javax.swing.GroupLayout(F2); + F2.setLayout(F2Layout); + F2Layout.setHorizontalGroup( + F2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(F2Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + F2Layout.setVerticalGroup( + F2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(F2Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + + F3.setBackground(new java.awt.Color(46, 90, 214)); + F3.addMouseListener(new java.awt.event.MouseAdapter() { + public void mouseEntered(java.awt.event.MouseEvent evt) { + F3MouseEntered(evt); + } + public void mouseExited(java.awt.event.MouseEvent evt) { + F3MouseExited(evt); + } + }); + + jLabel4.setFont(new java.awt.Font("Segoe UI", 1, 24)); // NOI18N + jLabel4.setForeground(new java.awt.Color(255, 255, 255)); + jLabel4.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); + jLabel4.setText("F3"); + + javax.swing.GroupLayout F3Layout = new javax.swing.GroupLayout(F3); + F3.setLayout(F3Layout); + F3Layout.setHorizontalGroup( + F3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(F3Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + F3Layout.setVerticalGroup( + F3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(F3Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel4, javax.swing.GroupLayout.DEFAULT_SIZE, 58, Short.MAX_VALUE) + .addContainerGap()) + ); + + F4.setBackground(new java.awt.Color(46, 90, 214)); + F4.addMouseListener(new java.awt.event.MouseAdapter() { + public void mouseEntered(java.awt.event.MouseEvent evt) { + F4MouseEntered(evt); + } + public void mouseExited(java.awt.event.MouseEvent evt) { + F4MouseExited(evt); + } + }); + + jLabel5.setFont(new java.awt.Font("Segoe UI", 1, 24)); // NOI18N + jLabel5.setForeground(new java.awt.Color(255, 255, 255)); + jLabel5.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); + jLabel5.setText("F4"); + + javax.swing.GroupLayout F4Layout = new javax.swing.GroupLayout(F4); + F4.setLayout(F4Layout); + F4Layout.setHorizontalGroup( + F4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(F4Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + F4Layout.setVerticalGroup( + F4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(F4Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + + F5.setBackground(new java.awt.Color(46, 90, 214)); + F5.addMouseListener(new java.awt.event.MouseAdapter() { + public void mouseEntered(java.awt.event.MouseEvent evt) { + F5MouseEntered(evt); + } + public void mouseExited(java.awt.event.MouseEvent evt) { + F5MouseExited(evt); + } + }); + + jLabel6.setFont(new java.awt.Font("Segoe UI", 1, 24)); // NOI18N + jLabel6.setForeground(new java.awt.Color(255, 255, 255)); + jLabel6.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); + jLabel6.setText("F5"); + + javax.swing.GroupLayout F5Layout = new javax.swing.GroupLayout(F5); + F5.setLayout(F5Layout); + F5Layout.setHorizontalGroup( + F5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(F5Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + F5Layout.setVerticalGroup( + F5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(F5Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + + E1.setBackground(new java.awt.Color(46, 90, 214)); + E1.addMouseListener(new java.awt.event.MouseAdapter() { + public void mouseEntered(java.awt.event.MouseEvent evt) { + E1MouseEntered(evt); + } + public void mouseExited(java.awt.event.MouseEvent evt) { + E1MouseExited(evt); + } + }); + + jLabel7.setFont(new java.awt.Font("Segoe UI", 1, 24)); // NOI18N + jLabel7.setForeground(new java.awt.Color(255, 255, 255)); + jLabel7.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); + jLabel7.setText("E1"); + + javax.swing.GroupLayout E1Layout = new javax.swing.GroupLayout(E1); + E1.setLayout(E1Layout); + E1Layout.setHorizontalGroup( + E1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(E1Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel7, javax.swing.GroupLayout.DEFAULT_SIZE, 46, Short.MAX_VALUE) + .addContainerGap()) + ); + E1Layout.setVerticalGroup( + E1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(E1Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel7, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + + E5.setBackground(new java.awt.Color(46, 90, 214)); + E5.addMouseListener(new java.awt.event.MouseAdapter() { + public void mouseEntered(java.awt.event.MouseEvent evt) { + E5MouseEntered(evt); + } + public void mouseExited(java.awt.event.MouseEvent evt) { + E5MouseExited(evt); + } + }); + + jLabel11.setFont(new java.awt.Font("Segoe UI", 1, 24)); // NOI18N + jLabel11.setForeground(new java.awt.Color(255, 255, 255)); + jLabel11.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); + jLabel11.setText("E5"); + + javax.swing.GroupLayout E5Layout = new javax.swing.GroupLayout(E5); + E5.setLayout(E5Layout); + E5Layout.setHorizontalGroup( + E5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(E5Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel11, javax.swing.GroupLayout.DEFAULT_SIZE, 46, Short.MAX_VALUE) + .addContainerGap()) + ); + E5Layout.setVerticalGroup( + E5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(E5Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel11, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + + E4.setBackground(new java.awt.Color(46, 90, 214)); + E4.addMouseListener(new java.awt.event.MouseAdapter() { + public void mouseEntered(java.awt.event.MouseEvent evt) { + E4MouseEntered(evt); + } + public void mouseExited(java.awt.event.MouseEvent evt) { + E4MouseExited(evt); + } + }); + + jLabel10.setFont(new java.awt.Font("Segoe UI", 1, 24)); // NOI18N + jLabel10.setForeground(new java.awt.Color(255, 255, 255)); + jLabel10.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); + jLabel10.setText("E4"); + + javax.swing.GroupLayout E4Layout = new javax.swing.GroupLayout(E4); + E4.setLayout(E4Layout); + E4Layout.setHorizontalGroup( + E4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(E4Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel10, javax.swing.GroupLayout.DEFAULT_SIZE, 58, Short.MAX_VALUE) + .addContainerGap()) + ); + E4Layout.setVerticalGroup( + E4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(E4Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel10, javax.swing.GroupLayout.DEFAULT_SIZE, 58, Short.MAX_VALUE) + .addContainerGap()) + ); + + E2.setBackground(new java.awt.Color(46, 90, 214)); + E2.addMouseListener(new java.awt.event.MouseAdapter() { + public void mouseEntered(java.awt.event.MouseEvent evt) { + E2MouseEntered(evt); + } + public void mouseExited(java.awt.event.MouseEvent evt) { + E2MouseExited(evt); + } + }); + + jLabel8.setFont(new java.awt.Font("Segoe UI", 1, 24)); // NOI18N + jLabel8.setForeground(new java.awt.Color(255, 255, 255)); + jLabel8.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); + jLabel8.setText("E2"); + + javax.swing.GroupLayout E2Layout = new javax.swing.GroupLayout(E2); + E2.setLayout(E2Layout); + E2Layout.setHorizontalGroup( + E2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(E2Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel8, javax.swing.GroupLayout.DEFAULT_SIZE, 58, Short.MAX_VALUE) + .addContainerGap()) + ); + E2Layout.setVerticalGroup( + E2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(E2Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel8, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + + E3.setBackground(new java.awt.Color(46, 90, 214)); + E3.addMouseListener(new java.awt.event.MouseAdapter() { + public void mouseEntered(java.awt.event.MouseEvent evt) { + E3MouseEntered(evt); + } + public void mouseExited(java.awt.event.MouseEvent evt) { + E3MouseExited(evt); + } + }); + + jLabel9.setFont(new java.awt.Font("Segoe UI", 1, 24)); // NOI18N + jLabel9.setForeground(new java.awt.Color(255, 255, 255)); + jLabel9.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); + jLabel9.setText("E3"); + + javax.swing.GroupLayout E3Layout = new javax.swing.GroupLayout(E3); + E3.setLayout(E3Layout); + E3Layout.setHorizontalGroup( + E3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(E3Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel9, javax.swing.GroupLayout.DEFAULT_SIZE, 58, Short.MAX_VALUE) + .addContainerGap()) + ); + E3Layout.setVerticalGroup( + E3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(E3Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel9, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + + D1.setBackground(new java.awt.Color(46, 90, 214)); + D1.addMouseListener(new java.awt.event.MouseAdapter() { + public void mouseEntered(java.awt.event.MouseEvent evt) { + D1MouseEntered(evt); + } + public void mouseExited(java.awt.event.MouseEvent evt) { + D1MouseExited(evt); + } + }); + + jLabel27.setFont(new java.awt.Font("Segoe UI", 1, 24)); // NOI18N + jLabel27.setForeground(new java.awt.Color(255, 255, 255)); + jLabel27.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); + jLabel27.setText("D1"); + + javax.swing.GroupLayout D1Layout = new javax.swing.GroupLayout(D1); + D1.setLayout(D1Layout); + D1Layout.setHorizontalGroup( + D1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(D1Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel27, javax.swing.GroupLayout.DEFAULT_SIZE, 83, Short.MAX_VALUE) + .addContainerGap()) + ); + D1Layout.setVerticalGroup( + D1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(D1Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel27, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + + D4.setBackground(new java.awt.Color(46, 90, 214)); + D4.addMouseListener(new java.awt.event.MouseAdapter() { + public void mouseEntered(java.awt.event.MouseEvent evt) { + D4MouseEntered(evt); + } + public void mouseExited(java.awt.event.MouseEvent evt) { + D4MouseExited(evt); + } + }); + + jLabel15.setFont(new java.awt.Font("Segoe UI", 1, 24)); // NOI18N + jLabel15.setForeground(new java.awt.Color(255, 255, 255)); + jLabel15.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); + jLabel15.setText("D4"); + + javax.swing.GroupLayout D4Layout = new javax.swing.GroupLayout(D4); + D4.setLayout(D4Layout); + D4Layout.setHorizontalGroup( + D4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(D4Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel15, javax.swing.GroupLayout.DEFAULT_SIZE, 85, Short.MAX_VALUE) + .addContainerGap()) + ); + D4Layout.setVerticalGroup( + D4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(D4Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel15, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + + D2.setBackground(new java.awt.Color(46, 90, 214)); + D2.addMouseListener(new java.awt.event.MouseAdapter() { + public void mouseEntered(java.awt.event.MouseEvent evt) { + D2MouseEntered(evt); + } + public void mouseExited(java.awt.event.MouseEvent evt) { + D2MouseExited(evt); + } + }); + + jLabel13.setFont(new java.awt.Font("Segoe UI", 1, 24)); // NOI18N + jLabel13.setForeground(new java.awt.Color(255, 255, 255)); + jLabel13.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); + jLabel13.setText("D2"); + + javax.swing.GroupLayout D2Layout = new javax.swing.GroupLayout(D2); + D2.setLayout(D2Layout); + D2Layout.setHorizontalGroup( + D2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(D2Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel13, javax.swing.GroupLayout.DEFAULT_SIZE, 58, Short.MAX_VALUE) + .addContainerGap()) + ); + D2Layout.setVerticalGroup( + D2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(D2Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel13, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + + D3.setBackground(new java.awt.Color(46, 90, 214)); + D3.addMouseListener(new java.awt.event.MouseAdapter() { + public void mouseEntered(java.awt.event.MouseEvent evt) { + D3MouseEntered(evt); + } + public void mouseExited(java.awt.event.MouseEvent evt) { + D3MouseExited(evt); + } + }); + + jLabel14.setFont(new java.awt.Font("Segoe UI", 1, 24)); // NOI18N + jLabel14.setForeground(new java.awt.Color(255, 255, 255)); + jLabel14.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); + jLabel14.setText("D3"); + + javax.swing.GroupLayout D3Layout = new javax.swing.GroupLayout(D3); + D3.setLayout(D3Layout); + D3Layout.setHorizontalGroup( + D3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(D3Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel14, javax.swing.GroupLayout.DEFAULT_SIZE, 58, Short.MAX_VALUE) + .addContainerGap()) + ); + D3Layout.setVerticalGroup( + D3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(D3Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel14, javax.swing.GroupLayout.DEFAULT_SIZE, 58, Short.MAX_VALUE) + .addContainerGap()) + ); + + C1.setBackground(new java.awt.Color(46, 90, 214)); + C1.addMouseListener(new java.awt.event.MouseAdapter() { + public void mouseEntered(java.awt.event.MouseEvent evt) { + C1MouseEntered(evt); + } + public void mouseExited(java.awt.event.MouseEvent evt) { + C1MouseExited(evt); + } + }); + + jLabel16.setFont(new java.awt.Font("Segoe UI", 1, 24)); // NOI18N + jLabel16.setForeground(new java.awt.Color(255, 255, 255)); + jLabel16.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); + jLabel16.setText("C1"); + + javax.swing.GroupLayout C1Layout = new javax.swing.GroupLayout(C1); + C1.setLayout(C1Layout); + C1Layout.setHorizontalGroup( + C1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(C1Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel16, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + C1Layout.setVerticalGroup( + C1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(C1Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel16, javax.swing.GroupLayout.DEFAULT_SIZE, 93, Short.MAX_VALUE) + .addContainerGap()) + ); + + C2.setBackground(new java.awt.Color(46, 90, 214)); + C2.addMouseListener(new java.awt.event.MouseAdapter() { + public void mouseEntered(java.awt.event.MouseEvent evt) { + C2MouseEntered(evt); + } + public void mouseExited(java.awt.event.MouseEvent evt) { + C2MouseExited(evt); + } + }); + + jLabel17.setFont(new java.awt.Font("Segoe UI", 1, 24)); // NOI18N + jLabel17.setForeground(new java.awt.Color(255, 255, 255)); + jLabel17.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); + jLabel17.setText("C2"); + + javax.swing.GroupLayout C2Layout = new javax.swing.GroupLayout(C2); + C2.setLayout(C2Layout); + C2Layout.setHorizontalGroup( + C2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(C2Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel17, javax.swing.GroupLayout.DEFAULT_SIZE, 58, Short.MAX_VALUE) + .addContainerGap()) + ); + C2Layout.setVerticalGroup( + C2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(C2Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel17, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + + C3.setBackground(new java.awt.Color(46, 90, 214)); + C3.addMouseListener(new java.awt.event.MouseAdapter() { + public void mouseEntered(java.awt.event.MouseEvent evt) { + C3MouseEntered(evt); + } + public void mouseExited(java.awt.event.MouseEvent evt) { + C3MouseExited(evt); + } + }); + + jLabel18.setFont(new java.awt.Font("Segoe UI", 1, 24)); // NOI18N + jLabel18.setForeground(new java.awt.Color(255, 255, 255)); + jLabel18.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); + jLabel18.setText("C3"); + + javax.swing.GroupLayout C3Layout = new javax.swing.GroupLayout(C3); + C3.setLayout(C3Layout); + C3Layout.setHorizontalGroup( + C3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(C3Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel18, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + C3Layout.setVerticalGroup( + C3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(C3Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel18, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + + C4.setBackground(new java.awt.Color(46, 90, 214)); + C4.addMouseListener(new java.awt.event.MouseAdapter() { + public void mouseEntered(java.awt.event.MouseEvent evt) { + C4MouseEntered(evt); + } + public void mouseExited(java.awt.event.MouseEvent evt) { + C4MouseExited(evt); + } + }); + + jLabel19.setFont(new java.awt.Font("Segoe UI", 1, 24)); // NOI18N + jLabel19.setForeground(new java.awt.Color(255, 255, 255)); + jLabel19.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); + jLabel19.setText("C4"); + + javax.swing.GroupLayout C4Layout = new javax.swing.GroupLayout(C4); + C4.setLayout(C4Layout); + C4Layout.setHorizontalGroup( + C4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(C4Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel19, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + C4Layout.setVerticalGroup( + C4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(C4Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel19, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + + B1.setBackground(new java.awt.Color(46, 90, 214)); + B1.addMouseListener(new java.awt.event.MouseAdapter() { + public void mouseEntered(java.awt.event.MouseEvent evt) { + B1MouseEntered(evt); + } + public void mouseExited(java.awt.event.MouseEvent evt) { + B1MouseExited(evt); + } + }); + + jLabel20.setFont(new java.awt.Font("Segoe UI", 1, 24)); // NOI18N + jLabel20.setForeground(new java.awt.Color(255, 255, 255)); + jLabel20.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); + jLabel20.setText("B1"); + + javax.swing.GroupLayout B1Layout = new javax.swing.GroupLayout(B1); + B1.setLayout(B1Layout); + B1Layout.setHorizontalGroup( + B1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(B1Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel20, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + B1Layout.setVerticalGroup( + B1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(B1Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel20, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + + B2.setBackground(new java.awt.Color(46, 90, 214)); + B2.addMouseListener(new java.awt.event.MouseAdapter() { + public void mouseEntered(java.awt.event.MouseEvent evt) { + B2MouseEntered(evt); + } + public void mouseExited(java.awt.event.MouseEvent evt) { + B2MouseExited(evt); + } + }); + + jLabel21.setFont(new java.awt.Font("Segoe UI", 1, 24)); // NOI18N + jLabel21.setForeground(new java.awt.Color(255, 255, 255)); + jLabel21.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); + jLabel21.setText("B2"); + + javax.swing.GroupLayout B2Layout = new javax.swing.GroupLayout(B2); + B2.setLayout(B2Layout); + B2Layout.setHorizontalGroup( + B2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(B2Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel21, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + B2Layout.setVerticalGroup( + B2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(B2Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel21, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + + B3.setBackground(new java.awt.Color(46, 90, 214)); + B3.addMouseListener(new java.awt.event.MouseAdapter() { + public void mouseEntered(java.awt.event.MouseEvent evt) { + B3MouseEntered(evt); + } + public void mouseExited(java.awt.event.MouseEvent evt) { + B3MouseExited(evt); + } + }); + + jLabel22.setFont(new java.awt.Font("Segoe UI", 1, 24)); // NOI18N + jLabel22.setForeground(new java.awt.Color(255, 255, 255)); + jLabel22.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); + jLabel22.setText("B3"); + + javax.swing.GroupLayout B3Layout = new javax.swing.GroupLayout(B3); + B3.setLayout(B3Layout); + B3Layout.setHorizontalGroup( + B3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(B3Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel22, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + B3Layout.setVerticalGroup( + B3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(B3Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel22, javax.swing.GroupLayout.DEFAULT_SIZE, 68, Short.MAX_VALUE) + .addContainerGap()) + ); + + B4.setBackground(new java.awt.Color(46, 90, 214)); + B4.addMouseListener(new java.awt.event.MouseAdapter() { + public void mouseEntered(java.awt.event.MouseEvent evt) { + B4MouseEntered(evt); + } + public void mouseExited(java.awt.event.MouseEvent evt) { + B4MouseExited(evt); + } + }); + + jLabel23.setFont(new java.awt.Font("Segoe UI", 1, 24)); // NOI18N + jLabel23.setForeground(new java.awt.Color(255, 255, 255)); + jLabel23.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); + jLabel23.setText("B4"); + + javax.swing.GroupLayout B4Layout = new javax.swing.GroupLayout(B4); + B4.setLayout(B4Layout); + B4Layout.setHorizontalGroup( + B4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(B4Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel23, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + B4Layout.setVerticalGroup( + B4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(B4Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel23, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + + A1.setBackground(new java.awt.Color(46, 90, 214)); + A1.addMouseListener(new java.awt.event.MouseAdapter() { + public void mouseClicked(java.awt.event.MouseEvent evt) { + A1MouseClicked(evt); + } + public void mouseEntered(java.awt.event.MouseEvent evt) { + A1MouseEntered(evt); + } + public void mouseExited(java.awt.event.MouseEvent evt) { + A1MouseExited(evt); + } + }); + + jLabel24.setFont(new java.awt.Font("Segoe UI", 1, 24)); // NOI18N + jLabel24.setForeground(new java.awt.Color(255, 255, 255)); + jLabel24.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); + jLabel24.setText("A1"); + + javax.swing.GroupLayout A1Layout = new javax.swing.GroupLayout(A1); + A1.setLayout(A1Layout); + A1Layout.setHorizontalGroup( + A1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(A1Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel24, javax.swing.GroupLayout.DEFAULT_SIZE, 68, Short.MAX_VALUE) + .addContainerGap()) + ); + A1Layout.setVerticalGroup( + A1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(A1Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel24, javax.swing.GroupLayout.DEFAULT_SIZE, 121, Short.MAX_VALUE) + .addContainerGap()) + ); + + A2.setBackground(new java.awt.Color(46, 90, 214)); + A2.addMouseListener(new java.awt.event.MouseAdapter() { + public void mouseEntered(java.awt.event.MouseEvent evt) { + A2MouseEntered(evt); + } + public void mouseExited(java.awt.event.MouseEvent evt) { + A2MouseExited(evt); + } + }); + + jLabel25.setFont(new java.awt.Font("Segoe UI", 1, 24)); // NOI18N + jLabel25.setForeground(new java.awt.Color(255, 255, 255)); + jLabel25.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); + jLabel25.setText("A2"); + + javax.swing.GroupLayout A2Layout = new javax.swing.GroupLayout(A2); + A2.setLayout(A2Layout); + A2Layout.setHorizontalGroup( + A2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(A2Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel25, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + A2Layout.setVerticalGroup( + A2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(A2Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel25, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + + A3.setBackground(new java.awt.Color(46, 90, 214)); + A3.addMouseListener(new java.awt.event.MouseAdapter() { + public void mouseEntered(java.awt.event.MouseEvent evt) { + A3MouseEntered(evt); + } + public void mouseExited(java.awt.event.MouseEvent evt) { + A3MouseExited(evt); + } + }); + + jLabel26.setFont(new java.awt.Font("Segoe UI", 1, 24)); // NOI18N + jLabel26.setForeground(new java.awt.Color(255, 255, 255)); + jLabel26.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); + jLabel26.setText("A3"); + + javax.swing.GroupLayout A3Layout = new javax.swing.GroupLayout(A3); + A3.setLayout(A3Layout); + A3Layout.setHorizontalGroup( + A3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(A3Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel26, javax.swing.GroupLayout.DEFAULT_SIZE, 68, Short.MAX_VALUE) + .addContainerGap()) + ); + A3Layout.setVerticalGroup( + A3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(A3Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel26, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + + jPanel3.setBackground(new java.awt.Color(175, 175, 175)); + + jLabel1.setFont(new java.awt.Font("Segoe UI", 1, 36)); // NOI18N + jLabel1.setForeground(new java.awt.Color(255, 255, 255)); + jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); + jLabel1.setText("ESCENARIO"); + + javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3); + jPanel3.setLayout(jPanel3Layout); + jPanel3Layout.setHorizontalGroup( + jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(jPanel3Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + jPanel3Layout.setVerticalGroup( + jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(jPanel3Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE) + .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) + ); + + javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2); + jPanel2.setLayout(jPanel2Layout); + jPanel2Layout.setHorizontalGroup( + jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(jPanel2Layout.createSequentialGroup() + .addGap(24, 24, 24) + .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(jPanel2Layout.createSequentialGroup() + .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) + .addComponent(F1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(E1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) + .addComponent(F2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(E2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) + .addComponent(F3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(E3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) + .addComponent(E4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(F4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) + .addComponent(F5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(E5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))) + .addGroup(jPanel2Layout.createSequentialGroup() + .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) + .addGroup(jPanel2Layout.createSequentialGroup() + .addComponent(D1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addComponent(D2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addComponent(D3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) + .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel2Layout.createSequentialGroup() + .addGap(15, 15, 15) + .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) + .addComponent(B1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(C1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(A1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(jPanel2Layout.createSequentialGroup() + .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) + .addComponent(C2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(B2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addComponent(C3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(B3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))) + .addComponent(A2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addComponent(D4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) + .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) + .addComponent(A3, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(B4, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(C4, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))) + .addContainerGap(24, Short.MAX_VALUE)) + .addGroup(jPanel2Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + jPanel2Layout.setVerticalGroup( + jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(jPanel2Layout.createSequentialGroup() + .addGap(20, 20, 20) + .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) + .addComponent(F3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(F4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(F5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(F2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(F1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) + .addComponent(E4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(E3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(E2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(E1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(E5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) + .addComponent(D3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(D2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(D1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(D4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addComponent(C1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(C2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(C3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(C4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) + .addComponent(B3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(B1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(B4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(B2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) + .addComponent(A1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(A2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(A3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) + .addGap(12, 12, 12)) + ); + + panelMapaSala.add(jPanel2); + + panelMapaAsientos.add(panelMapaSala); + + javax.swing.GroupLayout panelSeleccionLayout = new javax.swing.GroupLayout(panelSeleccion); + panelSeleccion.setLayout(panelSeleccionLayout); + panelSeleccionLayout.setHorizontalGroup( + panelSeleccionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(panelSeleccionLayout.createSequentialGroup() + .addComponent(panelMapaAsientos, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + panelSeleccionLayout.setVerticalGroup( + panelSeleccionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(panelSeleccionLayout.createSequentialGroup() + .addComponent(panelMapaAsientos, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) + .addGap(0, 45, Short.MAX_VALUE)) + ); + + jPanel1.setBackground(new java.awt.Color(204, 204, 204)); + + javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4); + jPanel4.setLayout(jPanel4Layout); + jPanel4Layout.setHorizontalGroup( + jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGap(0, 0, Short.MAX_VALUE) + ); + jPanel4Layout.setVerticalGroup( + jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGap(0, 0, Short.MAX_VALUE) + ); + + jButton1.setText("volver"); + jButton1.addActionListener(new java.awt.event.ActionListener() { + public void actionPerformed(java.awt.event.ActionEvent evt) { + jButton1ActionPerformed(evt); + } + }); + + javax.swing.GroupLayout jPanel5Layout = new javax.swing.GroupLayout(jPanel5); + jPanel5.setLayout(jPanel5Layout); + jPanel5Layout.setHorizontalGroup( + jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(jPanel5Layout.createSequentialGroup() + .addGap(156, 156, 156) + .addComponent(jButton1) + .addContainerGap(173, Short.MAX_VALUE)) + ); + jPanel5Layout.setVerticalGroup( + jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(jPanel5Layout.createSequentialGroup() + .addGap(21, 21, 21) + .addComponent(jButton1) + .addContainerGap(31, Short.MAX_VALUE)) + ); + + javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); + jPanel1.setLayout(jPanel1Layout); + jPanel1Layout.setHorizontalGroup( + jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(jPanel1Layout.createSequentialGroup() + .addContainerGap() + .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addComponent(jPanel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(jScrollPane1) + .addComponent(jPanel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) + .addContainerGap()) + ); + jPanel1Layout.setVerticalGroup( + jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(jPanel1Layout.createSequentialGroup() + .addContainerGap() + .addComponent(jPanel5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 553, javax.swing.GroupLayout.PREFERRED_SIZE) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addComponent(jPanel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) + ); + + javax.swing.GroupLayout PrincipalLayout = new javax.swing.GroupLayout(Principal); + Principal.setLayout(PrincipalLayout); + PrincipalLayout.setHorizontalGroup( + PrincipalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(PrincipalLayout.createSequentialGroup() + .addComponent(panelSeleccion, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) + .addContainerGap()) + .addComponent(barraSuperior, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + ); + PrincipalLayout.setVerticalGroup( + PrincipalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(PrincipalLayout.createSequentialGroup() + .addComponent(barraSuperior, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) + .addGroup(PrincipalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addComponent(panelSeleccion, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))) + ); + + javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); + getContentPane().setLayout(layout); + layout.setHorizontalGroup( + layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addComponent(Principal, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) + ); + layout.setVerticalGroup( + layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addComponent(Principal, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + ); + + pack(); + setLocationRelativeTo(null); + }// //GEN-END:initComponents + + private void F1MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_F1MouseEntered + F1.setBackground(darkenColor(new Color(46, 90, 214))); + }//GEN-LAST:event_F1MouseEntered + + private void F1MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_F1MouseExited + F1.setBackground(new Color(46, 90, 214)); + }//GEN-LAST:event_F1MouseExited + + private void F2MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_F2MouseEntered + F2.setBackground(darkenColor(new Color(46, 90, 214))); + }//GEN-LAST:event_F2MouseEntered + + private void F2MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_F2MouseExited + F2.setBackground(new Color(46, 90, 214)); + }//GEN-LAST:event_F2MouseExited + + private void F3MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_F3MouseEntered + F3.setBackground(darkenColor(new Color(46, 90, 214))); + }//GEN-LAST:event_F3MouseEntered + + private void F3MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_F3MouseExited + F3.setBackground(new Color(46, 90, 214)); + }//GEN-LAST:event_F3MouseExited + + private void F4MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_F4MouseEntered + F4.setBackground(darkenColor(new Color(46, 90, 214))); + }//GEN-LAST:event_F4MouseEntered + + private void F4MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_F4MouseExited + F4.setBackground(new Color(46, 90, 214)); + }//GEN-LAST:event_F4MouseExited + + private void F5MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_F5MouseEntered + F5.setBackground(darkenColor(new Color(46, 90, 214))); + }//GEN-LAST:event_F5MouseEntered + + private void F5MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_F5MouseExited + F5.setBackground(new Color(46, 90, 214)); + }//GEN-LAST:event_F5MouseExited + + private void E1MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_E1MouseEntered + E1.setBackground(darkenColor(new Color(46, 90, 214))); + }//GEN-LAST:event_E1MouseEntered + + private void E1MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_E1MouseExited + E1.setBackground(new Color(46, 90, 214)); + }//GEN-LAST:event_E1MouseExited + + private void E2MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_E2MouseEntered + E2.setBackground(darkenColor(new Color(46, 90, 214))); + }//GEN-LAST:event_E2MouseEntered + + private void E2MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_E2MouseExited + E2.setBackground(new Color(46, 90, 214)); + }//GEN-LAST:event_E2MouseExited + + private void E3MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_E3MouseEntered + E3.setBackground(darkenColor(new Color(46, 90, 214))); + }//GEN-LAST:event_E3MouseEntered + + private void E3MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_E3MouseExited + E3.setBackground(new Color(46, 90, 214)); + }//GEN-LAST:event_E3MouseExited + + private void E4MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_E4MouseEntered + E4.setBackground(darkenColor(new Color(46, 90, 214))); + }//GEN-LAST:event_E4MouseEntered + + private void E4MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_E4MouseExited + E4.setBackground(new Color(46, 90, 214)); + }//GEN-LAST:event_E4MouseExited + + private void E5MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_E5MouseEntered + E5.setBackground(darkenColor(new Color(46, 90, 214))); + }//GEN-LAST:event_E5MouseEntered + + private void E5MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_E5MouseExited + E5.setBackground(new Color(46, 90, 214)); + }//GEN-LAST:event_E5MouseExited + + private void D1MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_D1MouseEntered + D1.setBackground(darkenColor(new Color(46, 90, 214))); + }//GEN-LAST:event_D1MouseEntered + + private void D1MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_D1MouseExited + D1.setBackground(new Color(46, 90, 214)); + }//GEN-LAST:event_D1MouseExited + + private void D2MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_D2MouseEntered + D2.setBackground(darkenColor(new Color(46, 90, 214))); + }//GEN-LAST:event_D2MouseEntered + + private void D2MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_D2MouseExited + D2.setBackground(new Color(46, 90, 214)); + }//GEN-LAST:event_D2MouseExited + + private void D3MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_D3MouseEntered + D3.setBackground(darkenColor(new Color(46, 90, 214))); + }//GEN-LAST:event_D3MouseEntered + + private void D3MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_D3MouseExited + D3.setBackground(new Color(46, 90, 214)); + }//GEN-LAST:event_D3MouseExited + + private void D4MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_D4MouseEntered + D4.setBackground(darkenColor(new Color(46, 90, 214))); + }//GEN-LAST:event_D4MouseEntered + + private void D4MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_D4MouseExited + D4.setBackground(new Color(46, 90, 214)); + }//GEN-LAST:event_D4MouseExited + + private void C1MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_C1MouseEntered + C1.setBackground(darkenColor(new Color(46, 90, 214))); + }//GEN-LAST:event_C1MouseEntered + + private void C1MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_C1MouseExited + C1.setBackground(new Color(46, 90, 214)); + }//GEN-LAST:event_C1MouseExited + + private void C2MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_C2MouseEntered + C2.setBackground(darkenColor(new Color(46, 90, 214))); + }//GEN-LAST:event_C2MouseEntered + + private void C2MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_C2MouseExited + C2.setBackground(new Color(46, 90, 214)); + }//GEN-LAST:event_C2MouseExited + + private void C3MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_C3MouseEntered + C3.setBackground(darkenColor(new Color(46, 90, 214))); + }//GEN-LAST:event_C3MouseEntered + + private void C3MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_C3MouseExited + C3.setBackground(new Color(46, 90, 214)); + }//GEN-LAST:event_C3MouseExited + + private void C4MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_C4MouseEntered + C4.setBackground(darkenColor(new Color(46, 90, 214))); + }//GEN-LAST:event_C4MouseEntered + + private void C4MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_C4MouseExited + C4.setBackground(new Color(46, 90, 214)); + }//GEN-LAST:event_C4MouseExited + + private void B1MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_B1MouseEntered + B1.setBackground(darkenColor(new Color(46, 90, 214))); + }//GEN-LAST:event_B1MouseEntered + + private void B1MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_B1MouseExited + B1.setBackground(new Color(46, 90, 214)); + }//GEN-LAST:event_B1MouseExited + + private void B2MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_B2MouseEntered + B2.setBackground(darkenColor(new Color(46, 90, 214))); + }//GEN-LAST:event_B2MouseEntered + + private void B2MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_B2MouseExited + B2.setBackground(new Color(46, 90, 214)); + }//GEN-LAST:event_B2MouseExited + + private void B3MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_B3MouseEntered + B3.setBackground(darkenColor(new Color(46, 90, 214))); + }//GEN-LAST:event_B3MouseEntered + + private void B3MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_B3MouseExited + B3.setBackground(new Color(46, 90, 214)); + }//GEN-LAST:event_B3MouseExited + + private void B4MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_B4MouseEntered + B4.setBackground(darkenColor(new Color(46, 90, 214))); + }//GEN-LAST:event_B4MouseEntered + + private void B4MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_B4MouseExited + B4.setBackground(new Color(46, 90, 214)); + }//GEN-LAST:event_B4MouseExited + + private void A1MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_A1MouseEntered + A1.setBackground(darkenColor(new Color(46, 90, 214))); + }//GEN-LAST:event_A1MouseEntered + + private void A1MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_A1MouseExited + A1.setBackground(new Color(46, 90, 214)); + }//GEN-LAST:event_A1MouseExited + + private void A2MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_A2MouseEntered + A2.setBackground(darkenColor(new Color(46, 90, 214))); + }//GEN-LAST:event_A2MouseEntered + + private void A2MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_A2MouseExited + A2.setBackground(new Color(46, 90, 214)); + }//GEN-LAST:event_A2MouseExited + + private void A3MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_A3MouseEntered + A3.setBackground(darkenColor(new Color(46, 90, 214))); + }//GEN-LAST:event_A3MouseEntered + + private void A3MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_A3MouseExited + A3.setBackground(new Color(46, 90, 214)); + }//GEN-LAST:event_A3MouseExited + + private void A1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_A1MouseClicked + panelMapaSala.setVisible(false); + String a1 = "asientoA1"; + panelAsientos1 = new panelAsientos(a1); + // Agregamos el panelAsientos al panel principal + panelPrincipal.add(panelAsientos1, BorderLayout.CENTER); + }//GEN-LAST:event_A1MouseClicked + + private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed + panelMapaSala.setVisible(true); + panelPrincipal.remove(panelAsientos1); + panelPrincipal.revalidate(); + panelPrincipal.repaint(); + }//GEN-LAST:event_jButton1ActionPerformed + + + + // Método para oscurecer un color + private Color darkenColor(Color color) { + int r = color.getRed(); + int g = color.getGreen(); + int b = color.getBlue(); + + // Reducimos la intensidad de los componentes RGB para oscurecer el color + r = Math.max(0, r - 20); + g = Math.max(0, g - 20); + b = Math.max(0, b - 20); + + return new Color(r, g, b); + } + + /** + * @param args the command line arguments + */ + public static void main(String args[]) { + /* Set the Nimbus look and feel */ + // + /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel. + * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html + */ + try { + for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) { + if ("Nimbus".equals(info.getName())) { + javax.swing.UIManager.setLookAndFeel(info.getClassName()); + break; + } + } + } catch (ClassNotFoundException ex) { + java.util.logging.Logger.getLogger(VentanaConciertos.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); + } catch (InstantiationException ex) { + java.util.logging.Logger.getLogger(VentanaConciertos.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); + } catch (IllegalAccessException ex) { + java.util.logging.Logger.getLogger(VentanaConciertos.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); + } catch (javax.swing.UnsupportedLookAndFeelException ex) { + java.util.logging.Logger.getLogger(VentanaConciertos.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); + } + // + // + + /* Create and display the form */ + java.awt.EventQueue.invokeLater(new Runnable() { + public void run() { + new VentanaConciertos().setVisible(true); + } + }); + } + + // Variables declaration - do not modify//GEN-BEGIN:variables + private javax.swing.JPanel A1; + private javax.swing.JPanel A2; + private javax.swing.JPanel A3; + private javax.swing.JPanel B1; + private javax.swing.JPanel B2; + private javax.swing.JPanel B3; + private javax.swing.JPanel B4; + private javax.swing.JPanel C1; + private javax.swing.JPanel C2; + private javax.swing.JPanel C3; + private javax.swing.JPanel C4; + private javax.swing.JPanel D1; + private javax.swing.JPanel D2; + private javax.swing.JPanel D3; + private javax.swing.JPanel D4; + private javax.swing.JPanel E1; + private javax.swing.JPanel E2; + private javax.swing.JPanel E3; + private javax.swing.JPanel E4; + private javax.swing.JPanel E5; + private javax.swing.JPanel F1; + private javax.swing.JPanel F2; + private javax.swing.JPanel F3; + private javax.swing.JPanel F4; + private javax.swing.JPanel F5; + private javax.swing.JPanel Principal; + private javax.swing.JLabel banda; + private javax.swing.JPanel barraSuperior; + private javax.swing.JLabel fondoportada; + private javax.swing.JLabel imgConcierto; + private javax.swing.JButton jButton1; + private javax.swing.JLabel jLabel1; + private javax.swing.JLabel jLabel10; + private javax.swing.JLabel jLabel11; + private javax.swing.JLabel jLabel12; + private javax.swing.JLabel jLabel13; + private javax.swing.JLabel jLabel14; + private javax.swing.JLabel jLabel15; + private javax.swing.JLabel jLabel16; + private javax.swing.JLabel jLabel17; + private javax.swing.JLabel jLabel18; + private javax.swing.JLabel jLabel19; + private javax.swing.JLabel jLabel2; + private javax.swing.JLabel jLabel20; + private javax.swing.JLabel jLabel21; + private javax.swing.JLabel jLabel22; + private javax.swing.JLabel jLabel23; + private javax.swing.JLabel jLabel24; + private javax.swing.JLabel jLabel25; + private javax.swing.JLabel jLabel26; + private javax.swing.JLabel jLabel27; + private javax.swing.JLabel jLabel3; + private javax.swing.JLabel jLabel4; + private javax.swing.JLabel jLabel5; + private javax.swing.JLabel jLabel6; + private javax.swing.JLabel jLabel7; + private javax.swing.JLabel jLabel8; + private javax.swing.JLabel jLabel9; + private javax.swing.JPanel jPanel1; + private javax.swing.JPanel jPanel2; + private javax.swing.JPanel jPanel3; + private javax.swing.JPanel jPanel4; + private javax.swing.JPanel jPanel5; + private javax.swing.JScrollPane jScrollPane1; + private javax.swing.JPanel panelMapaAsientos; + private javax.swing.JPanel panelMapaSala; + private javax.swing.JPanel panelSeleccion; + // End of variables declaration//GEN-END:variables +}