Ejemplo n.º 1
0
  public void cambiarModoMayus() {
    minusculas = !minusculas;

    if (minusculas) {
      Q.setText("q");
      W.setText("w");
      E.setText("e");
      R.setText("r");
      T.setText("t");
      Y.setText("y");
      U.setText("u");
      I.setText("i");
      O.setText("o");
      P.setText("p");
      A.setText("a");
      S.setText("s");
      D.setText("d");
      F.setText("f");
      G.setText("g");
      H.setText("h");
      J.setText("j");
      K.setText("k");
      L.setText("l");
      N2.setText("ñ");
      Z.setText("z");
      X.setText("x");
      C.setText("c");
      V.setText("v");
      B.setText("b");
      N.setText("n");
      M.setText("m");
    } else {
      Q.setText("Q");
      W.setText("W");
      E.setText("E");
      R.setText("R");
      T.setText("T");
      Y.setText("Y");
      U.setText("U");
      I.setText("I");
      O.setText("O");
      P.setText("P");
      A.setText("A");
      S.setText("S");
      D.setText("D");
      F.setText("F");
      G.setText("G");
      H.setText("H");
      J.setText("J");
      K.setText("K");
      L.setText("L");
      N2.setText("Ñ");
      Z.setText("Z");
      X.setText("X");
      C.setText("C");
      V.setText("V");
      B.setText("B");
      N.setText("N");
      M.setText("M");
    }
  }
Ejemplo n.º 2
0
  /**
   * 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")
  // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
  private void initComponents() {

    teclado_base = new javax.swing.JPanel();
    H = new javax.swing.JButton();
    F = new javax.swing.JButton();
    G = new javax.swing.JButton();
    S = new javax.swing.JButton();
    D = new javax.swing.JButton();
    P = new javax.swing.JButton();
    A = new javax.swing.JButton();
    I = new javax.swing.JButton();
    O = new javax.swing.JButton();
    K = new javax.swing.JButton();
    J = new javax.swing.JButton();
    L = new javax.swing.JButton();
    N2 = new javax.swing.JButton();
    Z = new javax.swing.JButton();
    X = new javax.swing.JButton();
    C = new javax.swing.JButton();
    V = new javax.swing.JButton();
    B = new javax.swing.JButton();
    N = new javax.swing.JButton();
    Q = new javax.swing.JButton();
    U = new javax.swing.JButton();
    M = new javax.swing.JButton();
    T = new javax.swing.JButton();
    R = new javax.swing.JButton();
    E = new javax.swing.JButton();
    Espacio = new javax.swing.JButton();
    W = new javax.swing.JButton();
    Y = new javax.swing.JButton();

    H.setText("H");
    H.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            HActionPerformed(evt);
          }
        });

    F.setText("F");
    F.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            FActionPerformed(evt);
          }
        });

    G.setText("G");
    G.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            GActionPerformed(evt);
          }
        });

    S.setText("S");
    S.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            SActionPerformed(evt);
          }
        });

    D.setText("D");
    D.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            DActionPerformed(evt);
          }
        });

    P.setText("P");
    P.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            PActionPerformed(evt);
          }
        });

    A.setText("A");
    A.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            AActionPerformed(evt);
          }
        });

    I.setText("I");
    I.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            IActionPerformed(evt);
          }
        });

    O.setText("O");
    O.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            OActionPerformed(evt);
          }
        });

    K.setText("K");
    K.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            KActionPerformed(evt);
          }
        });

    J.setText("J");
    J.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            JActionPerformed(evt);
          }
        });

    L.setText("L");
    L.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            LActionPerformed(evt);
          }
        });

    N2.setText("Ñ");
    N2.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            N2ActionPerformed(evt);
          }
        });

    Z.setText("Z");
    Z.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            ZActionPerformed(evt);
          }
        });

    X.setText("X");
    X.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            XActionPerformed(evt);
          }
        });

    C.setText("C");
    C.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            CActionPerformed(evt);
          }
        });

    V.setText("V");
    V.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            VActionPerformed(evt);
          }
        });

    B.setText("B");
    B.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            BActionPerformed(evt);
          }
        });

    N.setText("N");
    N.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            NActionPerformed(evt);
          }
        });

    Q.setText("Q");
    Q.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            QActionPerformed(evt);
          }
        });

    U.setText("U");
    U.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            UActionPerformed(evt);
          }
        });

    M.setText("M");
    M.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            MActionPerformed(evt);
          }
        });

    T.setText("T");
    T.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            TActionPerformed(evt);
          }
        });

    R.setText("R");
    R.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            RActionPerformed(evt);
          }
        });

    E.setText("E");
    E.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            EActionPerformed(evt);
          }
        });

    Espacio.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            EspacioActionPerformed(evt);
          }
        });

    W.setText("W");
    W.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            WActionPerformed(evt);
          }
        });

    Y.setText("Y");
    Y.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            YActionPerformed(evt);
          }
        });

    javax.swing.GroupLayout teclado_baseLayout = new javax.swing.GroupLayout(teclado_base);
    teclado_base.setLayout(teclado_baseLayout);
    teclado_baseLayout.setHorizontalGroup(
        teclado_baseLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                teclado_baseLayout
                    .createSequentialGroup()
                    .addContainerGap()
                    .addGroup(
                        teclado_baseLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(
                                teclado_baseLayout
                                    .createSequentialGroup()
                                    .addGroup(
                                        teclado_baseLayout
                                            .createParallelGroup(
                                                javax.swing.GroupLayout.Alignment.TRAILING, false)
                                            .addGroup(
                                                teclado_baseLayout
                                                    .createSequentialGroup()
                                                    .addComponent(
                                                        Q,
                                                        javax.swing.GroupLayout.PREFERRED_SIZE,
                                                        58,
                                                        javax.swing.GroupLayout.PREFERRED_SIZE)
                                                    .addPreferredGap(
                                                        javax.swing.LayoutStyle.ComponentPlacement
                                                            .RELATED)
                                                    .addComponent(
                                                        W,
                                                        javax.swing.GroupLayout.PREFERRED_SIZE,
                                                        58,
                                                        javax.swing.GroupLayout.PREFERRED_SIZE)
                                                    .addPreferredGap(
                                                        javax.swing.LayoutStyle.ComponentPlacement
                                                            .RELATED)
                                                    .addComponent(
                                                        E,
                                                        javax.swing.GroupLayout.PREFERRED_SIZE,
                                                        58,
                                                        javax.swing.GroupLayout.PREFERRED_SIZE)
                                                    .addPreferredGap(
                                                        javax.swing.LayoutStyle.ComponentPlacement
                                                            .UNRELATED)
                                                    .addComponent(
                                                        R,
                                                        javax.swing.GroupLayout.DEFAULT_SIZE,
                                                        58,
                                                        javax.swing.GroupLayout.PREFERRED_SIZE))
                                            .addGroup(
                                                teclado_baseLayout
                                                    .createSequentialGroup()
                                                    .addComponent(
                                                        A,
                                                        javax.swing.GroupLayout.PREFERRED_SIZE,
                                                        58,
                                                        javax.swing.GroupLayout.PREFERRED_SIZE)
                                                    .addPreferredGap(
                                                        javax.swing.LayoutStyle.ComponentPlacement
                                                            .RELATED)
                                                    .addComponent(
                                                        S,
                                                        javax.swing.GroupLayout.PREFERRED_SIZE,
                                                        58,
                                                        javax.swing.GroupLayout.PREFERRED_SIZE)
                                                    .addPreferredGap(
                                                        javax.swing.LayoutStyle.ComponentPlacement
                                                            .RELATED)
                                                    .addComponent(
                                                        D,
                                                        javax.swing.GroupLayout.PREFERRED_SIZE,
                                                        58,
                                                        javax.swing.GroupLayout.PREFERRED_SIZE)
                                                    .addPreferredGap(
                                                        javax.swing.LayoutStyle.ComponentPlacement
                                                            .RELATED,
                                                        javax.swing.GroupLayout.DEFAULT_SIZE,
                                                        Short.MAX_VALUE)
                                                    .addComponent(
                                                        F,
                                                        javax.swing.GroupLayout.PREFERRED_SIZE,
                                                        58,
                                                        javax.swing.GroupLayout.PREFERRED_SIZE)))
                                    .addPreferredGap(
                                        javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addGroup(
                                        teclado_baseLayout
                                            .createParallelGroup(
                                                javax.swing.GroupLayout.Alignment.LEADING, false)
                                            .addComponent(
                                                G,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                58,
                                                javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(
                                                T,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                58,
                                                javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addPreferredGap(
                                        javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addGroup(
                                        teclado_baseLayout
                                            .createParallelGroup(
                                                javax.swing.GroupLayout.Alignment.LEADING, false)
                                            .addComponent(
                                                H,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                58,
                                                javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(
                                                Y,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                58,
                                                javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addPreferredGap(
                                        javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addGroup(
                                        teclado_baseLayout
                                            .createParallelGroup(
                                                javax.swing.GroupLayout.Alignment.LEADING, false)
                                            .addComponent(
                                                J,
                                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                                58,
                                                javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(
                                                U,
                                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                                58,
                                                javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addPreferredGap(
                                        javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addGroup(
                                        teclado_baseLayout
                                            .createParallelGroup(
                                                javax.swing.GroupLayout.Alignment.LEADING, false)
                                            .addComponent(
                                                K,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                58,
                                                javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(
                                                I,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                58,
                                                javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addPreferredGap(
                                        javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addGroup(
                                        teclado_baseLayout
                                            .createParallelGroup(
                                                javax.swing.GroupLayout.Alignment.LEADING, false)
                                            .addComponent(
                                                L,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                58,
                                                javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(
                                                O,
                                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                                58,
                                                javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addPreferredGap(
                                        javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addGroup(
                                        teclado_baseLayout
                                            .createParallelGroup(
                                                javax.swing.GroupLayout.Alignment.LEADING, false)
                                            .addComponent(
                                                N2,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                58,
                                                javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(
                                                P,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                58,
                                                javax.swing.GroupLayout.PREFERRED_SIZE)))
                            .addGroup(
                                teclado_baseLayout
                                    .createSequentialGroup()
                                    .addComponent(
                                        Z,
                                        javax.swing.GroupLayout.PREFERRED_SIZE,
                                        58,
                                        javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(
                                        javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addGroup(
                                        teclado_baseLayout
                                            .createParallelGroup(
                                                javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(
                                                Espacio,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                500,
                                                javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addGroup(
                                                teclado_baseLayout
                                                    .createSequentialGroup()
                                                    .addComponent(
                                                        X,
                                                        javax.swing.GroupLayout.PREFERRED_SIZE,
                                                        58,
                                                        javax.swing.GroupLayout.PREFERRED_SIZE)
                                                    .addPreferredGap(
                                                        javax.swing.LayoutStyle.ComponentPlacement
                                                            .RELATED)
                                                    .addComponent(
                                                        C,
                                                        javax.swing.GroupLayout.PREFERRED_SIZE,
                                                        58,
                                                        javax.swing.GroupLayout.PREFERRED_SIZE)
                                                    .addPreferredGap(
                                                        javax.swing.LayoutStyle.ComponentPlacement
                                                            .RELATED)
                                                    .addComponent(
                                                        V,
                                                        javax.swing.GroupLayout.PREFERRED_SIZE,
                                                        58,
                                                        javax.swing.GroupLayout.PREFERRED_SIZE)
                                                    .addPreferredGap(
                                                        javax.swing.LayoutStyle.ComponentPlacement
                                                            .RELATED)
                                                    .addComponent(
                                                        B,
                                                        javax.swing.GroupLayout.PREFERRED_SIZE,
                                                        58,
                                                        javax.swing.GroupLayout.PREFERRED_SIZE)
                                                    .addPreferredGap(
                                                        javax.swing.LayoutStyle.ComponentPlacement
                                                            .RELATED)
                                                    .addComponent(
                                                        N,
                                                        javax.swing.GroupLayout.PREFERRED_SIZE,
                                                        58,
                                                        javax.swing.GroupLayout.PREFERRED_SIZE)
                                                    .addPreferredGap(
                                                        javax.swing.LayoutStyle.ComponentPlacement
                                                            .RELATED)
                                                    .addComponent(
                                                        M,
                                                        javax.swing.GroupLayout.PREFERRED_SIZE,
                                                        58,
                                                        javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
    teclado_baseLayout.setVerticalGroup(
        teclado_baseLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                teclado_baseLayout
                    .createSequentialGroup()
                    .addGap(41, 41, 41)
                    .addGroup(
                        teclado_baseLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(
                                teclado_baseLayout
                                    .createSequentialGroup()
                                    .addComponent(
                                        Q,
                                        javax.swing.GroupLayout.PREFERRED_SIZE,
                                        44,
                                        javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addGap(10, 10, 10))
                            .addGroup(
                                teclado_baseLayout
                                    .createSequentialGroup()
                                    .addComponent(
                                        W,
                                        javax.swing.GroupLayout.DEFAULT_SIZE,
                                        44,
                                        javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addGap(11, 11, 11))
                            .addGroup(
                                teclado_baseLayout
                                    .createSequentialGroup()
                                    .addGroup(
                                        teclado_baseLayout
                                            .createParallelGroup(
                                                javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(
                                                E,
                                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                                44,
                                                javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(
                                                R,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                44,
                                                javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(
                                                T,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                44,
                                                javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(
                                                Y,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                44,
                                                javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(
                                                U,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                44,
                                                javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(
                                                I,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                44,
                                                javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(
                                                O,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                44,
                                                javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(
                                                P,
                                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                                44,
                                                javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addGap(18, 18, 18)))
                    .addGroup(
                        teclado_baseLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(
                                A,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                44,
                                javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(
                                S,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                44,
                                javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(
                                D,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                44,
                                javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(
                                teclado_baseLayout
                                    .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(
                                        G,
                                        javax.swing.GroupLayout.DEFAULT_SIZE,
                                        44,
                                        javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(
                                        F,
                                        javax.swing.GroupLayout.DEFAULT_SIZE,
                                        44,
                                        javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(
                                H,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                44,
                                javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(
                                J,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                44,
                                javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(
                                K,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                44,
                                javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(
                                L,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                44,
                                javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(
                                N2,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                44,
                                javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addGroup(
                        teclado_baseLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(
                                Z,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                44,
                                javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(
                                X,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                44,
                                javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(
                                C,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                44,
                                javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(
                                V,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                44,
                                javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(
                                B,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                44,
                                javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(
                                N,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                44,
                                javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(
                                M,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                44,
                                javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(
                        javax.swing.LayoutStyle.ComponentPlacement.RELATED, 39, Short.MAX_VALUE)
                    .addComponent(
                        Espacio,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        44,
                        javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(19, 19, 19)));

    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
    this.setLayout(layout);
    layout.setHorizontalGroup(
        layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(
                teclado_base,
                javax.swing.GroupLayout.DEFAULT_SIZE,
                javax.swing.GroupLayout.DEFAULT_SIZE,
                Short.MAX_VALUE));
    layout.setVerticalGroup(
        layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(
                teclado_base,
                javax.swing.GroupLayout.DEFAULT_SIZE,
                javax.swing.GroupLayout.DEFAULT_SIZE,
                Short.MAX_VALUE));
  } // </editor-fold>//GEN-END:initComponents