/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package puntocassa;

/**
 *
 * @author Marco
 */
public class JPnlPagamenti extends javax.swing.JPanel {

    /**
     * Creates new form JPnlPagamenti
     */
    public JPnlPagamenti() {
        initComponents();
    }

    /**
     * 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() {

        jLblTitolo = new javax.swing.JLabel();
        jLblTitolo1 = new javax.swing.JLabel();
        jCmbCat = new javax.swing.JComboBox();
        jBtnAggiorna = new javax.swing.JButton();
        jBtnAnnulla = new javax.swing.JButton();

        jLblTitolo.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N
        jLblTitolo.setForeground(new java.awt.Color(255, 0, 0));
        jLblTitolo.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        jLblTitolo.setText("Saldo insufficiente per l'acquisto!");

        jLblTitolo1.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
        jLblTitolo1.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        jLblTitolo1.setText("Modalità pagamento:");

        jCmbCat.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        jCmbCat.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));

        jBtnAggiorna.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        jBtnAggiorna.setText("OK");

        jBtnAnnulla.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        jBtnAnnulla.setText("Chiudi");
        jBtnAnnulla.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnAnnullaActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLblTitolo1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(jBtnAggiorna, javax.swing.GroupLayout.PREFERRED_SIZE, 97, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(0, 0, Short.MAX_VALUE))
                            .addComponent(jLblTitolo, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                        .addGap(67, 67, 67)
                        .addComponent(jBtnAnnulla, javax.swing.GroupLayout.PREFERRED_SIZE, 97, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jCmbCat, javax.swing.GroupLayout.Alignment.TRAILING, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLblTitolo, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLblTitolo1, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jCmbCat, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 13, Short.MAX_VALUE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jBtnAggiorna)
                    .addComponent(jBtnAnnulla))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
    }// </editor-fold>//GEN-END:initComponents

    private void jBtnAnnullaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnAnnullaActionPerformed
        // TODO add your handling code here:
        
    }//GEN-LAST:event_jBtnAnnullaActionPerformed


    // Variables declaration - do not modify//GEN-BEGIN:variables
    public javax.swing.JButton jBtnAggiorna;
    public javax.swing.JButton jBtnAnnulla;
    public javax.swing.JComboBox jCmbCat;
    private javax.swing.JLabel jLblTitolo;
    private javax.swing.JLabel jLblTitolo1;
    // End of variables declaration//GEN-END:variables
}
