/**
   * 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.
   */
  private void initComponents() { // GEN-BEGIN:initComponents
    java.awt.GridBagConstraints gridBagConstraints;

    nameJLabel = new javax.swing.JLabel();
    statusJButton = new javax.swing.JButton();
    destinationJLabel = new javax.swing.JLabel();
    waterBar = new WaterBar();
    statusJLabel = new javax.swing.JLabel();

    setLayout(new java.awt.GridBagLayout());

    setBorder(new javax.swing.border.TitledBorder(""));
    nameJLabel.setFont(new java.awt.Font("Dialog", 1, 10));
    nameJLabel.setText("jLabel1");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 2);
    add(nameJLabel, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 3;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 4);
    add(statusJButton, gridBagConstraints);

    destinationJLabel.setFont(new java.awt.Font("Dialog", 1, 10));
    destinationJLabel.setText("jLabel2");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 2);
    add(destinationJLabel, gridBagConstraints);

    waterBar.setMaximumSize(new java.awt.Dimension(32767, 4));
    waterBar.setMinimumSize(new java.awt.Dimension(10, 4));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 4, 2, 4);
    add(waterBar, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 0;
    add(statusJLabel, gridBagConstraints);
  } // GEN-END:initComponents
  // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
  private void initComponents() {
    java.awt.GridBagConstraints gridBagConstraints;

    popupLabel1 = new javax.swing.JLabel();
    popupLabel2 = new javax.swing.JLabel();
    popupField = new javax.swing.JTextField();
    noteLabel = new javax.swing.JLabel();

    setLayout(new java.awt.GridBagLayout());

    popupLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
    popupLabel1.setText(
        "<html>Open a popup menu here, which is having its top left corner under the mouse pointer.");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(20, 20, 20, 20);
    add(popupLabel1, gridBagConstraints);

    popupLabel2.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
    popupLabel2.setText(
        "<html>Open a popup menu here which, is being centered unter the mouse pointer.");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(20, 20, 20, 20);
    add(popupLabel2, gridBagConstraints);

    popupField.setText("Open a popup menu over this entry field.");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.insets = new java.awt.Insets(20, 20, 20, 20);
    add(popupField, gridBagConstraints);

    noteLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
    noteLabel.setText(
        "<html>There are two ways to use a popup menu: <ul><li>Ctrl+Click to open the popup menu followed by a Click to choose a menu item.</li><li>Ctrl+Mouse Press to open the popup menu followed by a Mouse Release to choose a menu item</li></ul>");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.insets = new java.awt.Insets(20, 20, 20, 20);
    add(noteLabel, gridBagConstraints);
  } // </editor-fold>//GEN-END:initComponents
  /**
   * Return the JFrameContentPane property value.
   *
   * @return javax.swing.JPanel
   */
  private
  /* WARNING: THIS METHOD WILL BE REGENERATED. */
  javax.swing.JPanel getMainPanel() {
    if (ivjMainPanel == null) {
      try {
        ivjMainPanel = new javax.swing.JPanel();
        ivjMainPanel.setName("MainPanel");
        ivjMainPanel.setLayout(new java.awt.GridBagLayout());
        ivjMainPanel.setBackground(java.awt.SystemColor.control);

        java.awt.GridBagConstraints constraintsProfileBrowserPanel =
            new java.awt.GridBagConstraints();
        constraintsProfileBrowserPanel.gridx = 1;
        constraintsProfileBrowserPanel.gridy = 1;
        constraintsProfileBrowserPanel.fill = java.awt.GridBagConstraints.BOTH;
        constraintsProfileBrowserPanel.weightx = 1.0;
        constraintsProfileBrowserPanel.weighty = 1.0;
        constraintsProfileBrowserPanel.insets = new java.awt.Insets(2, 2, 2, 2);
        getMainPanel().add(getProfileBrowserPanel(), constraintsProfileBrowserPanel);
        // user code begin {1}
        // user code end
      } catch (java.lang.Throwable ivjExc) {
        // user code begin {2}
        // user code end
        handleException(ivjExc);
      }
    }
    return ivjMainPanel;
  }
    CursorPanel(Cursor value) {
      setLayout(new java.awt.GridBagLayout());
      java.awt.GridBagConstraints gridBagConstraints1;
      list = new JList(new java.util.Vector(CURSOR_TYPES.keySet()));
      list.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
      if (value != null) list.setSelectedValue(value.getName(), true);

      gridBagConstraints1 = new java.awt.GridBagConstraints();
      gridBagConstraints1.gridx = 0;
      gridBagConstraints1.gridy = 1;
      gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH;
      gridBagConstraints1.insets = new java.awt.Insets(8, 8, 8, 8);
      gridBagConstraints1.weightx = 1.0;
      gridBagConstraints1.weighty = 1.0;
      add(list, gridBagConstraints1);

      gridBagConstraints1 = new java.awt.GridBagConstraints();
      gridBagConstraints1.gridx = 0;
      gridBagConstraints1.gridy = 0;
      gridBagConstraints1.insets = new java.awt.Insets(8, 8, 0, 8);
      gridBagConstraints1.anchor = java.awt.GridBagConstraints.WEST;
      add(
          new JLabel(
              org.openide.util.NbBundle.getBundle(CursorEditor.class)
                  .getString("CTL_SelectCursorName")),
          gridBagConstraints1);
    }
Пример #5
0
 private void addPanelFiller(int gridY) {
   java.awt.GridBagConstraints constraints = new java.awt.GridBagConstraints();
   constraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
   constraints.gridx = 0;
   constraints.gridy = gridY;
   constraints.weightx = 1.0;
   constraints.weighty = 1.0;
   extPanel.add(
       new Box.Filler(new Dimension(), new Dimension(), new Dimension(10000, 10000)), constraints);
 }
Пример #6
0
 @Deprecated
 private void initExtPanel(Project p) {
   if (compProviderDeprecated != null) {
     J2SERunConfigProvider.ConfigChangeListener ccl =
         new J2SERunConfigProvider.ConfigChangeListener() {
           public void propertiesChanged(Map<String, String> updates) {
             // update active configuration
             Map<String, String> m = configs.get(uiProperties.activeConfig);
             m.putAll(updates);
           }
         };
     JComponent comp = compProviderDeprecated.createComponent(p, ccl);
     if (comp != null) {
       java.awt.GridBagConstraints constraints = new java.awt.GridBagConstraints();
       constraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
       constraints.gridx = 0;
       constraints.gridy = nextExtensionYPos++;
       constraints.weightx = 1.0;
       extPanel.add(comp, constraints);
     }
   }
 }
Пример #7
0
 private boolean addExtPanel(Project p, J2SECategoryExtensionProvider compProvider, int gridY) {
   if (compProvider != null) {
     J2SECategoryExtensionProvider.ConfigChangeListener ccl =
         new J2SECategoryExtensionProvider.ConfigChangeListener() {
           public void propertiesChanged(Map<String, String> updates) {
             // update active configuration
             Map<String, String> m = configs.get(uiProperties.activeConfig);
             m.putAll(updates);
           }
         };
     JComponent comp = compProvider.createComponent(p, ccl);
     if (comp != null) {
       java.awt.GridBagConstraints constraints = new java.awt.GridBagConstraints();
       constraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
       constraints.gridx = 0;
       constraints.gridy = gridY;
       constraints.weightx = 1.0;
       extPanel.add(comp, constraints);
       return true;
     }
   }
   return false;
 }
  /**
   * 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() {
    java.awt.GridBagConstraints gridBagConstraints;

    tabPanel = new javax.swing.JTabbedPane();
    commonPanel = new javax.swing.JPanel();
    detailPane = new javax.swing.JPanel();
    certificateHierarchyHeadingLabel = new javax.swing.JLabel();
    jScrollPane1 = new javax.swing.JScrollPane();
    certificateChainDNs = new javax.swing.JList();
    certificateLayoutHeadingLabel = new javax.swing.JLabel();
    certificateDetailScrollPanel = new javax.swing.JScrollPane();
    certificateDetail = new javax.swing.JTextPane();

    setLayout(new java.awt.BorderLayout());

    tabPanel.setBorder(javax.swing.BorderFactory.createEmptyBorder(5, 5, 5, 5));

    commonPanel.setBorder(javax.swing.BorderFactory.createEmptyBorder(5, 5, 5, 5));
    commonPanel.setLayout(new java.awt.BorderLayout());
    tabPanel.addTab(
        org.openide.util.NbBundle.getMessage(
            CertificateChainDisplay.class,
            "CertificateChainDisplay.commonPanel.TabConstraints.tabTitle"),
        commonPanel); // NOI18N

    detailPane.setBorder(javax.swing.BorderFactory.createEmptyBorder(5, 5, 5, 5));
    detailPane.setLayout(new java.awt.GridBagLayout());

    certificateHierarchyHeadingLabel.setFont(
        certificateHierarchyHeadingLabel
            .getFont()
            .deriveFont(
                certificateHierarchyHeadingLabel.getFont().getStyle() | java.awt.Font.BOLD));
    certificateHierarchyHeadingLabel.setText(
        org.openide.util.NbBundle.getMessage(
            CertificateChainDisplay.class,
            "CertificateChainDisplay.certificateHierarchyHeadingLabel.text")); // NOI18N
    certificateHierarchyHeadingLabel.setBorder(
        javax.swing.BorderFactory.createEmptyBorder(5, 5, 5, 5));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    detailPane.add(certificateHierarchyHeadingLabel, gridBagConstraints);

    jScrollPane1.setMinimumSize(new java.awt.Dimension(75, 75));
    jScrollPane1.setPreferredSize(new java.awt.Dimension(75, 75));

    certificateChainDNs.setFont(
        certificateChainDNs
            .getFont()
            .deriveFont(certificateChainDNs.getFont().getStyle() | java.awt.Font.BOLD));
    certificateChainDNs.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
    certificateChainDNs.setMinimumSize(new java.awt.Dimension(22, 22));
    certificateChainDNs.setPreferredSize(new java.awt.Dimension(22, 22));
    certificateChainDNs.addListSelectionListener(
        new javax.swing.event.ListSelectionListener() {
          public void valueChanged(javax.swing.event.ListSelectionEvent evt) {
            certificateChainDNsValueChanged(evt);
          }
        });
    jScrollPane1.setViewportView(certificateChainDNs);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    detailPane.add(jScrollPane1, gridBagConstraints);

    certificateLayoutHeadingLabel.setFont(
        certificateLayoutHeadingLabel
            .getFont()
            .deriveFont(certificateLayoutHeadingLabel.getFont().getStyle() | java.awt.Font.BOLD));
    certificateLayoutHeadingLabel.setText(
        org.openide.util.NbBundle.getMessage(
            CertificateChainDisplay.class,
            "CertificateChainDisplay.certificateLayoutHeadingLabel.text")); // NOI18N
    certificateLayoutHeadingLabel.setBorder(
        javax.swing.BorderFactory.createEmptyBorder(5, 5, 5, 5));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    detailPane.add(certificateLayoutHeadingLabel, gridBagConstraints);

    certificateDetailScrollPanel.setPreferredSize(new java.awt.Dimension(22, 22));
    certificateDetailScrollPanel.setViewportView(certificateDetail);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 5;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    detailPane.add(certificateDetailScrollPanel, gridBagConstraints);

    tabPanel.addTab(
        org.openide.util.NbBundle.getMessage(
            CertificateChainDisplay.class,
            "CertificateChainDisplay.detailPane.TabConstraints.tabTitle"),
        detailPane); // NOI18N

    add(tabPanel, java.awt.BorderLayout.CENTER);
  } // </editor-fold>//GEN-END:initComponents
Пример #9
0
  // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
  private void initComponents() {
    java.awt.GridBagConstraints gridBagConstraints;

    m_jOptions = new javax.swing.JPanel();
    m_jButtons = new javax.swing.JPanel();
    m_jTicketId = new javax.swing.JLabel();
    m_jEdit = new javax.swing.JButton();
    m_jRefund = new javax.swing.JButton();
    m_jPrint = new javax.swing.JButton();
    jPanel2 = new javax.swing.JPanel();
    m_jPanelTicket = new javax.swing.JPanel();
    jPanel3 = new javax.swing.JPanel();
    jPanel4 = new javax.swing.JPanel();
    m_jKeys = new com.openbravo.editor.JEditorKeys();
    jPanel5 = new javax.swing.JPanel();
    jButton1 = new javax.swing.JButton();
    m_jTicketEditor = new com.openbravo.editor.JEditorIntegerPositive();

    setLayout(new java.awt.BorderLayout());

    m_jOptions.setLayout(new java.awt.BorderLayout());

    m_jButtons.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.LEFT));

    m_jTicketId.setBackground(java.awt.Color.white);
    m_jTicketId.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
    m_jTicketId.setBorder(
        javax.swing.BorderFactory.createCompoundBorder(
            javax.swing.BorderFactory.createLineBorder(
                javax.swing.UIManager.getDefaults().getColor("Button.darkShadow")),
            javax.swing.BorderFactory.createEmptyBorder(1, 4, 1, 4)));
    m_jTicketId.setOpaque(true);
    m_jTicketId.setPreferredSize(new java.awt.Dimension(160, 25));
    m_jTicketId.setRequestFocusEnabled(false);
    m_jButtons.add(m_jTicketId);

    m_jEdit.setIcon(
        new javax.swing.ImageIcon(
            getClass().getResource("/com/openbravo/images/edit.png"))); // NOI18N
    m_jEdit.setText(AppLocal.getIntString("button.edit")); // NOI18N
    m_jEdit.setFocusPainted(false);
    m_jEdit.setFocusable(false);
    m_jEdit.setMargin(new java.awt.Insets(8, 14, 8, 14));
    m_jEdit.setRequestFocusEnabled(false);
    m_jEdit.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jEditActionPerformed(evt);
          }
        });
    m_jButtons.add(m_jEdit);

    m_jRefund.setIcon(
        new javax.swing.ImageIcon(
            getClass().getResource("/com/openbravo/images/inbox.png"))); // NOI18N
    m_jRefund.setText(AppLocal.getIntString("button.refund")); // NOI18N
    m_jRefund.setFocusPainted(false);
    m_jRefund.setFocusable(false);
    m_jRefund.setMargin(new java.awt.Insets(8, 14, 8, 14));
    m_jRefund.setRequestFocusEnabled(false);
    m_jRefund.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jRefundActionPerformed(evt);
          }
        });
    m_jButtons.add(m_jRefund);

    m_jPrint.setIcon(
        new javax.swing.ImageIcon(
            getClass().getResource("/com/openbravo/images/yast_printer.png"))); // NOI18N
    m_jPrint.setText(AppLocal.getIntString("button.print")); // NOI18N
    m_jPrint.setFocusPainted(false);
    m_jPrint.setFocusable(false);
    m_jPrint.setMargin(new java.awt.Insets(8, 14, 8, 14));
    m_jPrint.setRequestFocusEnabled(false);
    m_jPrint.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jPrintActionPerformed(evt);
          }
        });
    m_jButtons.add(m_jPrint);

    m_jOptions.add(m_jButtons, java.awt.BorderLayout.WEST);

    jPanel2.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.LEFT));
    m_jOptions.add(jPanel2, java.awt.BorderLayout.CENTER);

    add(m_jOptions, java.awt.BorderLayout.NORTH);

    m_jPanelTicket.setBorder(javax.swing.BorderFactory.createEmptyBorder(5, 5, 5, 5));
    m_jPanelTicket.setLayout(new java.awt.BorderLayout());
    add(m_jPanelTicket, java.awt.BorderLayout.CENTER);

    jPanel3.setLayout(new java.awt.BorderLayout());

    jPanel4.setLayout(new javax.swing.BoxLayout(jPanel4, javax.swing.BoxLayout.Y_AXIS));

    m_jKeys.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jKeysActionPerformed(evt);
          }
        });
    jPanel4.add(m_jKeys);

    jPanel5.setBorder(javax.swing.BorderFactory.createEmptyBorder(5, 5, 5, 5));
    jPanel5.setLayout(new java.awt.GridBagLayout());

    jButton1.setIcon(
        new javax.swing.ImageIcon(
            getClass().getResource("/com/openbravo/images/button_ok.png"))); // NOI18N
    jButton1.setFocusPainted(false);
    jButton1.setFocusable(false);
    jButton1.setMargin(new java.awt.Insets(8, 14, 8, 14));
    jButton1.setRequestFocusEnabled(false);
    jButton1.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            jButton1ActionPerformed(evt);
          }
        });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(0, 5, 0, 0);
    jPanel5.add(jButton1, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    jPanel5.add(m_jTicketEditor, gridBagConstraints);

    jPanel4.add(jPanel5);

    jPanel3.add(jPanel4, java.awt.BorderLayout.NORTH);

    add(jPanel3, java.awt.BorderLayout.EAST);
  } // </editor-fold>//GEN-END:initComponents
Пример #10
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">
  private void initComponents() {
    java.awt.GridBagConstraints gridBagConstraints;

    buttonGroup1 = new javax.swing.ButtonGroup();
    jPanel1 = new javax.swing.JPanel();
    panPeriod = new javax.swing.JPanel();
    jLabel1 = new javax.swing.JLabel();
    jLabel2 = new javax.swing.JLabel();
    dpiFrom = new org.jdesktop.swingx.JXDatePicker();
    dpiTo = new org.jdesktop.swingx.JXDatePicker();
    jPanel2 = new javax.swing.JPanel();
    btnThisWeek = new javax.swing.JToggleButton();
    btnLastWeek = new javax.swing.JToggleButton();
    btnThisMonth = new javax.swing.JToggleButton();
    btnLastMonth = new javax.swing.JToggleButton();
    jPanel7 = new javax.swing.JPanel();
    btnRefreshAnlaesse = new javax.swing.JButton();
    panMasterDetail = new javax.swing.JPanel();
    panMaster = new javax.swing.JPanel();
    jScrollPane1 = new javax.swing.JScrollPane();
    jXTable1 = new org.jdesktop.swingx.JXTable();
    panDetail = new javax.swing.JPanel();
    jPanel3 = new javax.swing.JPanel();
    lblDokumentLink = new javax.swing.JLabel();
    jPanel5 = new javax.swing.JPanel();
    jPanel4 = new javax.swing.JPanel();
    jScrollPane2 = new javax.swing.JScrollPane();
    lstKassenzeichen = new javax.swing.JList();
    jButton1 = new javax.swing.JButton();
    cbxAbgearbeitet = new javax.swing.JCheckBox();
    jPanel6 = new javax.swing.JPanel();
    jPanel8 = new javax.swing.JPanel();
    btnCloseDialog = new javax.swing.JButton();
    jProgressBar1 = new javax.swing.JProgressBar();
    jPanel9 = new javax.swing.JPanel();

    setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
    setTitle(
        org.openide.util.NbBundle.getMessage(
            FortfuehrungsanlaesseDialog.class, "FortfuehrungsanlaesseDialog.title")); // NOI18N
    getContentPane().setLayout(new java.awt.GridBagLayout());

    jPanel1.setPreferredSize(new java.awt.Dimension(800, 643));
    jPanel1.setLayout(new java.awt.GridBagLayout());

    panPeriod.setBorder(
        javax.swing.BorderFactory.createTitledBorder(
            org.openide.util.NbBundle.getMessage(
                FortfuehrungsanlaesseDialog.class,
                "FortfuehrungsanlaesseDialog.panPeriod.border.title"))); // NOI18N
    panPeriod.setLayout(new java.awt.GridBagLayout());

    jLabel1.setText(
        org.openide.util.NbBundle.getMessage(
            FortfuehrungsanlaesseDialog.class,
            "FortfuehrungsanlaesseDialog.jLabel1.text")); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.VERTICAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_END;
    gridBagConstraints.weighty = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(10, 10, 5, 5);
    panPeriod.add(jLabel1, gridBagConstraints);

    jLabel2.setText(
        org.openide.util.NbBundle.getMessage(
            FortfuehrungsanlaesseDialog.class,
            "FortfuehrungsanlaesseDialog.jLabel2.text")); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 4;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.VERTICAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_END;
    gridBagConstraints.insets = new java.awt.Insets(10, 10, 5, 5);
    panPeriod.add(jLabel2, gridBagConstraints);

    dpiFrom.addPropertyChangeListener(
        new java.beans.PropertyChangeListener() {

          @Override
          public void propertyChange(final java.beans.PropertyChangeEvent evt) {
            dpiFromPropertyChange(evt);
          }
        });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 3;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
    gridBagConstraints.insets = new java.awt.Insets(10, 0, 5, 10);
    panPeriod.add(dpiFrom, gridBagConstraints);

    dpiTo.addPropertyChangeListener(
        new java.beans.PropertyChangeListener() {

          @Override
          public void propertyChange(final java.beans.PropertyChangeEvent evt) {
            dpiToPropertyChange(evt);
          }
        });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 5;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
    gridBagConstraints.insets = new java.awt.Insets(10, 0, 5, 10);
    panPeriod.add(dpiTo, gridBagConstraints);

    jPanel2.setLayout(new java.awt.GridLayout(2, 3, 5, 5));

    buttonGroup1.add(btnThisWeek);
    btnThisWeek.setText(
        org.openide.util.NbBundle.getMessage(
            FortfuehrungsanlaesseDialog.class,
            "FortfuehrungsanlaesseDialog.btnThisWeek.text")); // NOI18N
    btnThisWeek.addActionListener(
        new java.awt.event.ActionListener() {

          @Override
          public void actionPerformed(final java.awt.event.ActionEvent evt) {
            btnThisWeekActionPerformed(evt);
          }
        });
    jPanel2.add(btnThisWeek);

    buttonGroup1.add(btnLastWeek);
    btnLastWeek.setText(
        org.openide.util.NbBundle.getMessage(
            FortfuehrungsanlaesseDialog.class,
            "FortfuehrungsanlaesseDialog.btnLastWeek.text")); // NOI18N
    btnLastWeek.addActionListener(
        new java.awt.event.ActionListener() {

          @Override
          public void actionPerformed(final java.awt.event.ActionEvent evt) {
            btnLastWeekActionPerformed(evt);
          }
        });
    jPanel2.add(btnLastWeek);

    buttonGroup1.add(btnThisMonth);
    btnThisMonth.setText(
        org.openide.util.NbBundle.getMessage(
            FortfuehrungsanlaesseDialog.class,
            "FortfuehrungsanlaesseDialog.btnThisMonth.text")); // NOI18N
    btnThisMonth.addActionListener(
        new java.awt.event.ActionListener() {

          @Override
          public void actionPerformed(final java.awt.event.ActionEvent evt) {
            btnThisMonthActionPerformed(evt);
          }
        });
    jPanel2.add(btnThisMonth);

    buttonGroup1.add(btnLastMonth);
    btnLastMonth.setText(
        org.openide.util.NbBundle.getMessage(
            FortfuehrungsanlaesseDialog.class,
            "FortfuehrungsanlaesseDialog.btnLastMonth.text")); // NOI18N
    btnLastMonth.addActionListener(
        new java.awt.event.ActionListener() {

          @Override
          public void actionPerformed(final java.awt.event.ActionEvent evt) {
            btnLastMonthActionPerformed(evt);
          }
        });
    jPanel2.add(btnLastMonth);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.gridheight = 2;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
    gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
    panPeriod.add(jPanel2, gridBagConstraints);

    jPanel7.setPreferredSize(new java.awt.Dimension(50, 10));

    final javax.swing.GroupLayout jPanel7Layout = new javax.swing.GroupLayout(jPanel7);
    jPanel7.setLayout(jPanel7Layout);
    jPanel7Layout.setHorizontalGroup(
        jPanel7Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 50, Short.MAX_VALUE));
    jPanel7Layout.setVerticalGroup(
        jPanel7Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 88, Short.MAX_VALUE));

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.gridheight = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.VERTICAL;
    gridBagConstraints.weightx = 1.0;
    panPeriod.add(jPanel7, gridBagConstraints);

    btnRefreshAnlaesse.setText(
        org.openide.util.NbBundle.getMessage(
            FortfuehrungsanlaesseDialog.class,
            "FortfuehrungsanlaesseDialog.btnRefreshAnlaesse.text")); // NOI18N
    btnRefreshAnlaesse.setEnabled(false);
    btnRefreshAnlaesse.addActionListener(
        new java.awt.event.ActionListener() {

          @Override
          public void actionPerformed(final java.awt.event.ActionEvent evt) {
            btnRefreshAnlaesseActionPerformed(evt);
          }
        });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.gridwidth = 4;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weighty = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(5, 10, 10, 10);
    panPeriod.add(btnRefreshAnlaesse, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jPanel1.add(panPeriod, gridBagConstraints);

    panMasterDetail.setLayout(new java.awt.GridBagLayout());

    panMaster.setBorder(
        javax.swing.BorderFactory.createTitledBorder(
            org.openide.util.NbBundle.getMessage(
                FortfuehrungsanlaesseDialog.class,
                "FortfuehrungsanlaesseDialog.panMaster.border.title"))); // NOI18N
    panMaster.setLayout(new java.awt.GridBagLayout());

    jXTable1.setEnabled(false);
    jScrollPane1.setViewportView(jXTable1);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(5, 10, 10, 10);
    panMaster.add(jScrollPane1, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 10);
    panMasterDetail.add(panMaster, gridBagConstraints);
    panMaster
        .getAccessibleContext()
        .setAccessibleName(
            org.openide.util.NbBundle.getMessage(
                FortfuehrungsanlaesseDialog.class,
                "FortfuehrungsanlaesseDialog.panMaster.AccessibleContext.accessibleName")); // NOI18N

    panDetail.setBorder(null);
    panDetail.setMinimumSize(new java.awt.Dimension(250, 137));
    panDetail.setPreferredSize(new java.awt.Dimension(250, 244));
    panDetail.setVerifyInputWhenFocusTarget(false);
    panDetail.setLayout(new java.awt.GridBagLayout());

    jPanel3.setBorder(
        javax.swing.BorderFactory.createTitledBorder(
            org.openide.util.NbBundle.getMessage(
                FortfuehrungsanlaesseDialog.class,
                "FortfuehrungsanlaesseDialog.jPanel3.border.title"))); // NOI18N
    jPanel3.setLayout(new java.awt.GridBagLayout());

    lblDokumentLink.setText(
        org.openide.util.NbBundle.getMessage(
            FortfuehrungsanlaesseDialog.class,
            "FortfuehrungsanlaesseDialog.lblDokumentLink.text")); // NOI18N
    lblDokumentLink.setEnabled(false);
    lblDokumentLink.addMouseListener(
        new java.awt.event.MouseAdapter() {

          @Override
          public void mouseClicked(final java.awt.event.MouseEvent evt) {
            lblDokumentLinkMouseClicked(evt);
          }
        });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.weighty = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
    jPanel3.add(lblDokumentLink, gridBagConstraints);

    final javax.swing.GroupLayout jPanel5Layout = new javax.swing.GroupLayout(jPanel5);
    jPanel5.setLayout(jPanel5Layout);
    jPanel5Layout.setHorizontalGroup(
        jPanel5Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 0, Short.MAX_VALUE));
    jPanel5Layout.setVerticalGroup(
        jPanel5Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 0, Short.MAX_VALUE));

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weightx = 1.0;
    jPanel3.add(jPanel5, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
    panDetail.add(jPanel3, gridBagConstraints);

    jPanel4.setBorder(
        javax.swing.BorderFactory.createTitledBorder(
            org.openide.util.NbBundle.getMessage(
                FortfuehrungsanlaesseDialog.class,
                "FortfuehrungsanlaesseDialog.jPanel4.border.title"))); // NOI18N
    jPanel4.setLayout(new java.awt.GridBagLayout());

    lstKassenzeichen.setModel(new DefaultListModel());
    lstKassenzeichen.setEnabled(false);
    lstKassenzeichen.addMouseListener(
        new java.awt.event.MouseAdapter() {

          @Override
          public void mouseClicked(final java.awt.event.MouseEvent evt) {
            lstKassenzeichenMouseClicked(evt);
          }
        });
    lstKassenzeichen.addListSelectionListener(
        new javax.swing.event.ListSelectionListener() {

          @Override
          public void valueChanged(final javax.swing.event.ListSelectionEvent evt) {
            lstKassenzeichenValueChanged(evt);
          }
        });
    jScrollPane2.setViewportView(lstKassenzeichen);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
    jPanel4.add(jScrollPane2, gridBagConstraints);

    jButton1.setText(
        org.openide.util.NbBundle.getMessage(
            FortfuehrungsanlaesseDialog.class,
            "FortfuehrungsanlaesseDialog.jButton1.text")); // NOI18N
    jButton1.setEnabled(false);
    jButton1.addActionListener(
        new java.awt.event.ActionListener() {

          @Override
          public void actionPerformed(final java.awt.event.ActionEvent evt) {
            jButton1ActionPerformed(evt);
          }
        });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.insets = new java.awt.Insets(0, 10, 10, 10);
    jPanel4.add(jButton1, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(5, 0, 5, 0);
    panDetail.add(jPanel4, gridBagConstraints);

    cbxAbgearbeitet.setText(
        org.openide.util.NbBundle.getMessage(
            FortfuehrungsanlaesseDialog.class,
            "FortfuehrungsanlaesseDialog.cbxAbgearbeitet.text")); // NOI18N
    cbxAbgearbeitet.setEnabled(false);
    cbxAbgearbeitet.addActionListener(
        new java.awt.event.ActionListener() {

          @Override
          public void actionPerformed(final java.awt.event.ActionEvent evt) {
            cbxAbgearbeitetActionPerformed(evt);
          }
        });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.insets = new java.awt.Insets(5, 0, 0, 0);
    panDetail.add(cbxAbgearbeitet, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weighty = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(0, 10, 0, 0);
    panMasterDetail.add(panDetail, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jPanel1.add(panMasterDetail, gridBagConstraints);

    final javax.swing.GroupLayout jPanel6Layout = new javax.swing.GroupLayout(jPanel6);
    jPanel6.setLayout(jPanel6Layout);
    jPanel6Layout.setHorizontalGroup(
        jPanel6Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 0, Short.MAX_VALUE));
    jPanel6Layout.setVerticalGroup(
        jPanel6Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 0, Short.MAX_VALUE));

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    jPanel1.add(jPanel6, gridBagConstraints);

    jPanel8.setLayout(new java.awt.GridBagLayout());

    btnCloseDialog.setText(
        org.openide.util.NbBundle.getMessage(
            FortfuehrungsanlaesseDialog.class,
            "FortfuehrungsanlaesseDialog.btnCloseDialog.text")); // NOI18N
    btnCloseDialog.addActionListener(
        new java.awt.event.ActionListener() {

          @Override
          public void actionPerformed(final java.awt.event.ActionEvent evt) {
            btnCloseDialogActionPerformed(evt);
          }
        });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.LAST_LINE_END;
    gridBagConstraints.insets = new java.awt.Insets(0, 5, 0, 0);
    jPanel8.add(btnCloseDialog, gridBagConstraints);

    jProgressBar1.setIndeterminate(true);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 5);
    jPanel8.add(jProgressBar1, gridBagConstraints);

    jPanel9.setOpaque(false);

    final javax.swing.GroupLayout jPanel9Layout = new javax.swing.GroupLayout(jPanel9);
    jPanel9.setLayout(jPanel9Layout);
    jPanel9Layout.setHorizontalGroup(
        jPanel9Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 634, Short.MAX_VALUE));
    jPanel9Layout.setVerticalGroup(
        jPanel9Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 30, Short.MAX_VALUE));

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    jPanel8.add(jPanel9, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jPanel1.add(jPanel8, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    getContentPane().add(jPanel1, gridBagConstraints);

    pack();
  } // </editor-fold>
  // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
  private void initComponents() {
    java.awt.GridBagConstraints gridBagConstraints;

    jPanel1 = new javax.swing.JPanel();
    lName = new javax.swing.JLabel();
    tName = new javax.swing.JTextField();
    lClassName = new javax.swing.JLabel();
    tClassName = new javax.swing.JTextField();
    lIcon = new javax.swing.JLabel();
    cIcon = new javax.swing.JComboBox();
    jLabel5 = new javax.swing.JLabel();
    projectTextField = new javax.swing.JTextField();
    jLabel2 = new javax.swing.JLabel();
    packageComboBox = new javax.swing.JComboBox();
    jLabel4 = new javax.swing.JLabel();
    fileTextField = new javax.swing.JTextField();
    jSeparator1 = new javax.swing.JSeparator();
    jPanel3 = new javax.swing.JPanel();
    lNote = new javax.swing.JLabel();

    setName(
        org.openide.util.NbBundle.getMessage(
            MIDPTargetChooserPanelGUI.class, "TITLE_File")); // NOI18N
    setLayout(new java.awt.GridBagLayout());

    jPanel1.setLayout(new java.awt.GridBagLayout());

    lName.setLabelFor(tName);
    org.openide.awt.Mnemonics.setLocalizedText(
        lName,
        org.openide.util.NbBundle.getMessage(
            MIDPTargetChooserPanelGUI.class, "LBL_File_Name")); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.insets = new java.awt.Insets(3, 0, 3, 4);
    jPanel1.add(lName, gridBagConstraints);
    lName
        .getAccessibleContext()
        .setAccessibleName(
            org.openide.util.NbBundle.getMessage(
                MIDPTargetChooserPanelGUI.class, "ACSN_MidletName")); // NOI18N
    lName
        .getAccessibleContext()
        .setAccessibleDescription(
            org.openide.util.NbBundle.getMessage(
                MIDPTargetChooserPanelGUI.class, "ACSD_MidletName")); // NOI18N

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(3, 4, 3, 4);
    jPanel1.add(tName, gridBagConstraints);
    tName
        .getAccessibleContext()
        .setAccessibleName(
            org.openide.util.NbBundle.getMessage(
                MIDPTargetChooserPanelGUI.class, "ACSN_MidletName")); // NOI18N
    tName
        .getAccessibleContext()
        .setAccessibleDescription(
            org.openide.util.NbBundle.getMessage(
                MIDPTargetChooserPanelGUI.class, "ACSD_MidletName")); // NOI18N

    lClassName.setLabelFor(tClassName);
    org.openide.awt.Mnemonics.setLocalizedText(
        lClassName,
        org.openide.util.NbBundle.getMessage(
            MIDPTargetChooserPanelGUI.class, "LBL_File_MIDletClassName")); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.insets = new java.awt.Insets(3, 0, 3, 4);
    jPanel1.add(lClassName, gridBagConstraints);
    lClassName
        .getAccessibleContext()
        .setAccessibleName(
            org.openide.util.NbBundle.getMessage(
                MIDPTargetChooserPanelGUI.class, "ACSN_MidpClassName")); // NOI18N
    lClassName
        .getAccessibleContext()
        .setAccessibleDescription(
            org.openide.util.NbBundle.getMessage(
                MIDPTargetChooserPanelGUI.class, "ACSD_MidpClassName")); // NOI18N

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(3, 4, 3, 4);
    jPanel1.add(tClassName, gridBagConstraints);
    tClassName
        .getAccessibleContext()
        .setAccessibleName(
            org.openide.util.NbBundle.getMessage(
                MIDPTargetChooserPanelGUI.class, "ACSN_MidpClassName")); // NOI18N
    tClassName
        .getAccessibleContext()
        .setAccessibleDescription(
            org.openide.util.NbBundle.getMessage(
                MIDPTargetChooserPanelGUI.class, "ACSD_MidpClassName")); // NOI18N

    lIcon.setLabelFor(cIcon);
    org.openide.awt.Mnemonics.setLocalizedText(
        lIcon,
        org.openide.util.NbBundle.getMessage(
            MIDPTargetChooserPanelGUI.class, "LBL_File_Icon")); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.insets = new java.awt.Insets(3, 0, 3, 4);
    jPanel1.add(lIcon, gridBagConstraints);
    lIcon
        .getAccessibleContext()
        .setAccessibleName(
            org.openide.util.NbBundle.getMessage(
                MIDPTargetChooserPanelGUI.class, "ACSN_MidletIcon")); // NOI18N
    lIcon
        .getAccessibleContext()
        .setAccessibleDescription(
            org.openide.util.NbBundle.getMessage(
                MIDPTargetChooserPanelGUI.class, "ACSD_MidletIcon")); // NOI18N

    cIcon.setEditable(true);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(3, 4, 3, 4);
    jPanel1.add(cIcon, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(0, 0, 24, 0);
    add(jPanel1, gridBagConstraints);

    jLabel5.setLabelFor(projectTextField);
    org.openide.awt.Mnemonics.setLocalizedText(
        jLabel5,
        org.openide.util.NbBundle.getMessage(
            MIDPTargetChooserPanelGUI.class, "LBL_File_Project")); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.insets = new java.awt.Insets(0, 0, 6, 0);
    add(jLabel5, gridBagConstraints);
    jLabel5
        .getAccessibleContext()
        .setAccessibleName(
            org.openide.util.NbBundle.getMessage(
                MIDPTargetChooserPanelGUI.class, "ACSN_MidpTargetProject")); // NOI18N
    jLabel5
        .getAccessibleContext()
        .setAccessibleDescription(
            org.openide.util.NbBundle.getMessage(
                MIDPTargetChooserPanelGUI.class, "ACSD_MidpTargetProject")); // NOI18N

    projectTextField.setEditable(false);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(0, 6, 6, 0);
    add(projectTextField, gridBagConstraints);
    projectTextField
        .getAccessibleContext()
        .setAccessibleName(
            org.openide.util.NbBundle.getMessage(
                MIDPTargetChooserPanelGUI.class, "ACSN_MidpTargetProject")); // NOI18N
    projectTextField
        .getAccessibleContext()
        .setAccessibleDescription(
            org.openide.util.NbBundle.getMessage(
                MIDPTargetChooserPanelGUI.class, "ACSD_MidpTargetProject")); // NOI18N

    jLabel2.setLabelFor(packageComboBox);
    org.openide.awt.Mnemonics.setLocalizedText(
        jLabel2,
        org.openide.util.NbBundle.getMessage(
            MIDPTargetChooserPanelGUI.class, "LBL_File_Package")); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.insets = new java.awt.Insets(0, 0, 12, 0);
    add(jLabel2, gridBagConstraints);
    jLabel2
        .getAccessibleContext()
        .setAccessibleName(
            org.openide.util.NbBundle.getMessage(
                MIDPTargetChooserPanelGUI.class, "ACSN_MidpTargetPackage")); // NOI18N
    jLabel2
        .getAccessibleContext()
        .setAccessibleDescription(
            org.openide.util.NbBundle.getMessage(
                MIDPTargetChooserPanelGUI.class, "ACSD_MidpTargetPackage")); // NOI18N

    packageComboBox.setEditable(true);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(0, 6, 12, 0);
    add(packageComboBox, gridBagConstraints);
    packageComboBox
        .getAccessibleContext()
        .setAccessibleName(
            org.openide.util.NbBundle.getMessage(
                MIDPTargetChooserPanelGUI.class, "ACSN_MidpTargetPackage")); // NOI18N
    packageComboBox
        .getAccessibleContext()
        .setAccessibleDescription(
            org.openide.util.NbBundle.getMessage(
                MIDPTargetChooserPanelGUI.class, "ACSD_MidpTargetPackage")); // NOI18N

    jLabel4.setLabelFor(fileTextField);
    org.openide.awt.Mnemonics.setLocalizedText(
        jLabel4,
        org.openide.util.NbBundle.getMessage(
            MIDPTargetChooserPanelGUI.class, "LBL_File_Created")); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.insets = new java.awt.Insets(0, 0, 12, 0);
    add(jLabel4, gridBagConstraints);
    jLabel4
        .getAccessibleContext()
        .setAccessibleName(
            org.openide.util.NbBundle.getMessage(
                MIDPTargetChooserPanelGUI.class, "ACSN_CreatedFile")); // NOI18N
    jLabel4
        .getAccessibleContext()
        .setAccessibleDescription(
            org.openide.util.NbBundle.getMessage(
                MIDPTargetChooserPanelGUI.class, "ACSD_CreatedFile")); // NOI18N

    fileTextField.setEditable(false);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(0, 6, 12, 0);
    add(fileTextField, gridBagConstraints);
    fileTextField
        .getAccessibleContext()
        .setAccessibleName(
            org.openide.util.NbBundle.getMessage(
                MIDPTargetChooserPanelGUI.class, "ACSN_CreatedFile")); // NOI18N
    fileTextField
        .getAccessibleContext()
        .setAccessibleDescription(
            org.openide.util.NbBundle.getMessage(
                MIDPTargetChooserPanelGUI.class, "ACSD_CreatedFile")); // NOI18N

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(0, 0, 12, 0);
    add(jSeparator1, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 5;
    gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    add(jPanel3, gridBagConstraints);

    org.openide.awt.Mnemonics.setLocalizedText(
        lNote,
        NbBundle.getMessage(MIDPTargetChooserPanelGUI.class, "LBL_MIDPTarget_Note")); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 6;
    gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.weightx = 1.0;
    add(lNote, gridBagConstraints);
  } // </editor-fold>//GEN-END:initComponents
Пример #12
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.
   */
  private void initComponents() { // GEN-BEGIN:initComponents
    java.awt.GridBagConstraints gridBagConstraints;

    jPanel1 = new javax.swing.JPanel();
    jScrollPane1 = new javax.swing.JScrollPane();
    viewArea = new javax.swing.JEditorPane();
    bNext = new javax.swing.JButton();
    menuBar = new javax.swing.JMenuBar();
    fileMenu = new javax.swing.JMenu();
    openMenuItem = new javax.swing.JMenuItem();
    exitMenuItem = new javax.swing.JMenuItem();
    editMenu = new javax.swing.JMenu();
    cutMenuItem = new javax.swing.JMenuItem();
    copyMenuItem = new javax.swing.JMenuItem();
    pasteMenuItem = new javax.swing.JMenuItem();

    setTitle("Marc Viewer");
    setName("main");
    addWindowListener(
        new java.awt.event.WindowAdapter() {
          public void windowClosing(java.awt.event.WindowEvent evt) {
            exitForm(evt);
          }
        });

    jPanel1.setLayout(new java.awt.GridBagLayout());

    jPanel1.setMinimumSize(new java.awt.Dimension(480, 300));
    jPanel1.setPreferredSize(new java.awt.Dimension(480, 300));
    viewArea.setBorder(null);
    viewArea.setEditable(false);
    viewArea.setContentType("text/ascii");
    viewArea.setMargin(new java.awt.Insets(1, 1, 1, 1));
    jScrollPane1.setViewportView(viewArea);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(0, 2, 2, 2);
    jPanel1.add(jScrollPane1, gridBagConstraints);

    bNext.setText("Seguinte");
    bNext.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            bNextActionPerformed(evt);
          }
        });

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    jPanel1.add(bNext, gridBagConstraints);

    getContentPane().add(jPanel1, java.awt.BorderLayout.CENTER);

    fileMenu.setText("Ficheiro");
    openMenuItem.setText("Abrir...");
    openMenuItem.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            openMenuItemActionPerformed(evt);
          }
        });

    fileMenu.add(openMenuItem);

    exitMenuItem.setText("Sair");
    exitMenuItem.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            exitMenuItemActionPerformed(evt);
          }
        });

    fileMenu.add(exitMenuItem);

    menuBar.add(fileMenu);

    editMenu.setText("Editar");
    editMenu.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            editMenuActionPerformed(evt);
          }
        });

    cutMenuItem.setText("Cortar");
    cutMenuItem.setEnabled(false);
    editMenu.add(cutMenuItem);

    copyMenuItem.setText("Copiar");
    copyMenuItem.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            copyMenuItemActionPerformed(evt);
          }
        });

    editMenu.add(copyMenuItem);

    pasteMenuItem.setText("Colar");
    pasteMenuItem.setEnabled(false);
    editMenu.add(pasteMenuItem);

    menuBar.add(editMenu);

    setJMenuBar(menuBar);

    pack();
  } // GEN-END:initComponents
Пример #13
0
  // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
  private void initComponents() {
    java.awt.GridBagConstraints gridBagConstraints;

    buttonGroup1 = new javax.swing.ButtonGroup();
    m_jOptions = new javax.swing.JPanel();
    m_jButtons = new javax.swing.JPanel();
    m_jTicketId = new javax.swing.JLabel();
    jButton2 = new javax.swing.JButton();
    m_jEdit = new javax.swing.JButton();
    m_jRefund = new javax.swing.JButton();
    m_jPrint = new javax.swing.JButton();
    jPanel2 = new javax.swing.JPanel();
    m_jPanelTicket = new javax.swing.JPanel();
    jPanel3 = new javax.swing.JPanel();
    jPanel4 = new javax.swing.JPanel();
    m_jKeys = new com.openbravo.editor.JEditorKeys();
    jPanel5 = new javax.swing.JPanel();
    jButton1 = new javax.swing.JButton();
    m_jTicketEditor = new com.openbravo.editor.JEditorIntegerPositive();
    jPanel1 = new javax.swing.JPanel();
    jrbSales = new javax.swing.JRadioButton();
    jrbRefunds = new javax.swing.JRadioButton();

    setLayout(new java.awt.BorderLayout());

    m_jButtons.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.LEFT));

    m_jTicketId.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
    m_jTicketId.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
    m_jTicketId.setBorder(
        javax.swing.BorderFactory.createCompoundBorder(
            javax.swing.BorderFactory.createLineBorder(
                javax.swing.UIManager.getDefaults().getColor("Button.darkShadow")),
            javax.swing.BorderFactory.createEmptyBorder(1, 4, 1, 4)));
    m_jTicketId.setOpaque(true);
    m_jTicketId.setPreferredSize(new java.awt.Dimension(160, 25));
    m_jTicketId.setRequestFocusEnabled(false);
    m_jButtons.add(m_jTicketId);

    jButton2.setFont(new java.awt.Font("Arial", 0, 11)); // NOI18N
    jButton2.setIcon(
        new javax.swing.ImageIcon(
            getClass().getResource("/com/openbravo/images/search24.png"))); // NOI18N
    jButton2.setText(AppLocal.getIntString("button.print")); // NOI18N
    jButton2.setToolTipText("Search Tickets");
    jButton2.setFocusPainted(false);
    jButton2.setFocusable(false);
    jButton2.setMargin(new java.awt.Insets(0, 4, 0, 4));
    jButton2.setMaximumSize(new java.awt.Dimension(50, 40));
    jButton2.setMinimumSize(new java.awt.Dimension(50, 40));
    jButton2.setPreferredSize(new java.awt.Dimension(50, 40));
    jButton2.setRequestFocusEnabled(false);
    jButton2.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            jButton2ActionPerformed(evt);
          }
        });
    m_jButtons.add(jButton2);

    m_jEdit.setFont(new java.awt.Font("Arial", 0, 11)); // NOI18N
    m_jEdit.setIcon(
        new javax.swing.ImageIcon(
            getClass().getResource("/com/openbravo/images/sale_editline.png"))); // NOI18N
    m_jEdit.setText(AppLocal.getIntString("button.print")); // NOI18N
    m_jEdit.setToolTipText("Edit current Ticket");
    m_jEdit.setFocusPainted(false);
    m_jEdit.setFocusable(false);
    m_jEdit.setMargin(new java.awt.Insets(0, 4, 0, 4));
    m_jEdit.setMaximumSize(new java.awt.Dimension(50, 40));
    m_jEdit.setMinimumSize(new java.awt.Dimension(50, 40));
    m_jEdit.setPreferredSize(new java.awt.Dimension(50, 40));
    m_jEdit.setRequestFocusEnabled(false);
    m_jEdit.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jEditActionPerformed(evt);
          }
        });
    m_jButtons.add(m_jEdit);

    m_jRefund.setFont(new java.awt.Font("Arial", 0, 11)); // NOI18N
    m_jRefund.setIcon(
        new javax.swing.ImageIcon(
            getClass().getResource("/com/openbravo/images/inbox.png"))); // NOI18N
    m_jRefund.setText(AppLocal.getIntString("button.print")); // NOI18N
    m_jRefund.setToolTipText("Receipt Refund");
    m_jRefund.setFocusPainted(false);
    m_jRefund.setFocusable(false);
    m_jRefund.setMargin(new java.awt.Insets(0, 4, 0, 4));
    m_jRefund.setMaximumSize(new java.awt.Dimension(50, 40));
    m_jRefund.setMinimumSize(new java.awt.Dimension(50, 40));
    m_jRefund.setPreferredSize(new java.awt.Dimension(50, 40));
    m_jRefund.setRequestFocusEnabled(false);
    m_jRefund.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jRefundActionPerformed(evt);
          }
        });
    m_jButtons.add(m_jRefund);

    m_jPrint.setFont(new java.awt.Font("Arial", 0, 11)); // NOI18N
    m_jPrint.setIcon(
        new javax.swing.ImageIcon(
            getClass().getResource("/com/openbravo/images/printer24.png"))); // NOI18N
    m_jPrint.setText(AppLocal.getIntString("button.print")); // NOI18N
    m_jPrint.setToolTipText("Reprint Receipt");
    m_jPrint.setFocusPainted(false);
    m_jPrint.setFocusable(false);
    m_jPrint.setMargin(new java.awt.Insets(0, 4, 0, 4));
    m_jPrint.setMaximumSize(new java.awt.Dimension(50, 40));
    m_jPrint.setMinimumSize(new java.awt.Dimension(50, 40));
    m_jPrint.setPreferredSize(new java.awt.Dimension(50, 40));
    m_jPrint.setRequestFocusEnabled(false);
    m_jPrint.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jPrintActionPerformed(evt);
          }
        });
    m_jButtons.add(m_jPrint);

    m_jOptions.add(m_jButtons);

    jPanel2.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.LEFT));
    m_jOptions.add(jPanel2);

    add(m_jOptions, java.awt.BorderLayout.NORTH);

    m_jPanelTicket.setBorder(javax.swing.BorderFactory.createEmptyBorder(5, 5, 5, 5));
    m_jPanelTicket.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
    m_jPanelTicket.setLayout(new java.awt.BorderLayout());
    add(m_jPanelTicket, java.awt.BorderLayout.CENTER);

    jPanel3.setLayout(new java.awt.BorderLayout());

    jPanel4.setLayout(new javax.swing.BoxLayout(jPanel4, javax.swing.BoxLayout.Y_AXIS));

    m_jKeys.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jKeysActionPerformed(evt);
          }
        });
    jPanel4.add(m_jKeys);

    jPanel5.setBorder(javax.swing.BorderFactory.createEmptyBorder(5, 5, 5, 5));
    jPanel5.setLayout(new java.awt.GridBagLayout());

    jButton1.setIcon(
        new javax.swing.ImageIcon(
            getClass().getResource("/com/openbravo/images/ok.png"))); // NOI18N
    jButton1.setToolTipText("Enter Receipt and touch to Find by Number");
    jButton1.setFocusPainted(false);
    jButton1.setFocusable(false);
    jButton1.setMargin(new java.awt.Insets(8, 14, 8, 14));
    jButton1.setRequestFocusEnabled(false);
    jButton1.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            jButton1ActionPerformed(evt);
          }
        });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(0, 5, 0, 0);
    jPanel5.add(jButton1, gridBagConstraints);

    m_jTicketEditor.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    jPanel5.add(m_jTicketEditor, gridBagConstraints);

    jPanel4.add(jPanel5);

    jPanel3.add(jPanel4, java.awt.BorderLayout.NORTH);

    buttonGroup1.add(jrbSales);
    jrbSales.setFont(new java.awt.Font("Arial", 1, 14)); // NOI18N
    jrbSales.setText(AppLocal.getIntString("label.sales")); // NOI18N
    jrbSales.setToolTipText("Show Sales Only");
    jrbSales.setFocusPainted(false);
    jrbSales.setFocusable(false);
    jrbSales.setRequestFocusEnabled(false);
    jPanel1.add(jrbSales);

    buttonGroup1.add(jrbRefunds);
    jrbRefunds.setFont(new java.awt.Font("Arial", 1, 14)); // NOI18N
    jrbRefunds.setForeground(new java.awt.Color(255, 0, 0));
    jrbRefunds.setText(AppLocal.getIntString("label.refunds")); // NOI18N
    jrbRefunds.setToolTipText("Show Refunds Only");
    jrbRefunds.setFocusPainted(false);
    jrbRefunds.setFocusable(false);
    jrbRefunds.setRequestFocusEnabled(false);
    jPanel1.add(jrbRefunds);

    jPanel3.add(jPanel1, java.awt.BorderLayout.CENTER);

    add(jPanel3, java.awt.BorderLayout.EAST);
  } // </editor-fold>//GEN-END:initComponents
  // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
  private void initComponents() {
    java.awt.GridBagConstraints gridBagConstraints;

    fc = new javax.swing.JPanel();
    fromPanel = new javax.swing.JPanel();
    fileNameLabel = new javax.swing.JLabel();
    fileNameTextField = new javax.swing.JTextField();
    strutPanel1 = new javax.swing.JPanel();
    lookInLabel = new javax.swing.JLabel();
    directoryComboBox = new javax.swing.JComboBox();
    strutPanel2 = new javax.swing.JPanel();
    separatorPanel1 = new javax.swing.JPanel();
    separatorPanel2 = new javax.swing.JPanel();
    browserScrollPane = new javax.swing.JScrollPane();
    browser = new ch.randelshofer.quaqua.JBrowser();
    newFolderButton = new javax.swing.JButton();
    separatorPanel = new javax.swing.JPanel();
    formatPanel = new javax.swing.JPanel();
    formatPanel2 = new javax.swing.JPanel();
    filesOfTypeLabel = new javax.swing.JLabel();
    filterComboBox = new javax.swing.JComboBox();
    accessoryPanel = new javax.swing.JPanel();
    buttonPanel = new javax.swing.JPanel();
    cancelButton = new javax.swing.JButton();
    approveButton = new javax.swing.JButton();

    setLayout(new java.awt.BorderLayout());

    fc.setLayout(new java.awt.GridBagLayout());

    fromPanel.setLayout(new java.awt.GridBagLayout());

    fileNameLabel.setText(UIManager.getString("FileChooser.fileNameLabelText"));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
    gridBagConstraints.insets = new java.awt.Insets(0, 0, 14, 0);
    fromPanel.add(fileNameLabel, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(0, 2, 14, 0);
    fromPanel.add(fileNameTextField, gridBagConstraints);

    strutPanel1.setLayout(null);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.ipadx = 40;
    gridBagConstraints.ipady = 5;
    fromPanel.add(strutPanel1, gridBagConstraints);

    lookInLabel.setText(UIManager.getString("FileChooser.fromLabelText"));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.gridheight = 2;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
    gridBagConstraints.insets = new java.awt.Insets(0, 1, 0, 0);
    fromPanel.add(lookInLabel, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.gridheight = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 0);
    fromPanel.add(directoryComboBox, gridBagConstraints);

    strutPanel2.setLayout(new java.awt.BorderLayout());

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 3;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.ipadx = 40;
    gridBagConstraints.ipady = 5;
    fromPanel.add(strutPanel2, gridBagConstraints);

    separatorPanel1.setLayout(new java.awt.BorderLayout());

    separatorPanel1.setBackground(
        javax.swing.UIManager.getDefaults().getColor("Separator.foreground"));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 40;
    gridBagConstraints.ipady = 1;
    gridBagConstraints.weightx = 1.0E-4;
    fromPanel.add(separatorPanel1, gridBagConstraints);

    separatorPanel2.setLayout(new java.awt.BorderLayout());

    separatorPanel2.setBackground(
        javax.swing.UIManager.getDefaults().getColor("Separator.foreground"));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 3;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.ipadx = 40;
    gridBagConstraints.ipady = 1;
    fromPanel.add(separatorPanel2, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridy = 0;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.insets = new java.awt.Insets(14, 0, 0, 0);
    fc.add(fromPanel, gridBagConstraints);

    browserScrollPane.setHorizontalScrollBarPolicy(
        javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);
    browserScrollPane.setVerticalScrollBarPolicy(
        javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER);
    browserScrollPane.setViewportView(browser);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridy = 1;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(8, 23, 0, 23);
    fc.add(browserScrollPane, gridBagConstraints);

    newFolderButton.setText(UIManager.getString("FileChooser.newFolderButtonText"));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.insets = new java.awt.Insets(4, 0, 0, 0);
    fc.add(newFolderButton, gridBagConstraints);

    separatorPanel.setLayout(new java.awt.BorderLayout());

    separatorPanel.setBackground(
        javax.swing.UIManager.getDefaults().getColor("Separator.foreground"));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipady = 1;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(14, 0, 0, 0);
    fc.add(separatorPanel, gridBagConstraints);

    formatPanel.setLayout(new java.awt.GridBagLayout());

    formatPanel2.setLayout(new java.awt.BorderLayout(2, 0));

    filesOfTypeLabel.setText(UIManager.getString("FileChooser.filesOfTypeLabelText"));
    formatPanel2.add(filesOfTypeLabel, java.awt.BorderLayout.WEST);

    formatPanel2.add(filterComboBox, java.awt.BorderLayout.CENTER);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.insets = new java.awt.Insets(0, 40, 0, 40);
    formatPanel.add(formatPanel2, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.insets = new java.awt.Insets(14, 0, 0, 0);
    fc.add(formatPanel, gridBagConstraints);

    accessoryPanel.setLayout(new java.awt.BorderLayout());

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 5;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.insets = new java.awt.Insets(14, 20, 0, 20);
    fc.add(accessoryPanel, gridBagConstraints);

    buttonPanel.setLayout(new java.awt.GridBagLayout());

    cancelButton.setText(UIManager.getString("FileChooser.cancelButtonText"));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(0, 18, 16, 0);
    buttonPanel.add(cancelButton, gridBagConstraints);

    approveButton.setText(UIManager.getString("FileChooser.openButtonText"));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.insets = new java.awt.Insets(0, 6, 16, 22);
    buttonPanel.add(approveButton, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridy = 6;
    gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.insets = new java.awt.Insets(14, 0, 0, 0);
    fc.add(buttonPanel, gridBagConstraints);

    add(fc, java.awt.BorderLayout.CENTER);
  } // </editor-fold>//GEN-END: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.
   */
  private void initComponents() { // GEN-BEGIN:initComponents
    java.awt.GridBagConstraints gridBagConstraints;

    jPanel1 = new javax.swing.JPanel();
    jLabelTitulo1 = new javax.swing.JLabel();
    jLabelTitulo2 = new javax.swing.JLabel();
    jPanel2 = new javax.swing.JPanel();
    jPanel4 = new javax.swing.JPanel();
    jTextAreaPortaTCPNovaMaquina = new javax.swing.JTextArea();
    jLabelIdDeConexao = new javax.swing.JLabel();
    jTextFieldPortaTCPNovaMaquina = new javax.swing.JTextField();
    jTextFieldIdDeConexao = new javax.swing.JTextField();
    jPanel5 = new javax.swing.JPanel();
    jPanel6 = new javax.swing.JPanel();
    jButtonCriarNovaMaquina = new javax.swing.JButton();
    jButtonFecharMaquina = new javax.swing.JButton();
    jPanel7 = new javax.swing.JPanel();
    jButtonIniciarTCP = new javax.swing.JButton();
    jButtonFechar = new javax.swing.JButton();
    jButtonReset = new javax.swing.JButton();
    jPanel3 = new javax.swing.JPanel();
    jScrollPane1 = new javax.swing.JScrollPane();
    jTextAreaTabelaDeConexoes = new javax.swing.JTextArea();

    setTitle("MonitorFrame / Copyleft (F)2003 LARC/USP");
    setResizable(false);
    addWindowListener(
        new java.awt.event.WindowAdapter() {
          public void windowClosing(java.awt.event.WindowEvent evt) {
            exitForm(evt);
          }
        });

    jPanel1.setLayout(null);

    jPanel1.setPreferredSize(new java.awt.Dimension(325, 24));
    jLabelTitulo1.setFont(new java.awt.Font("Dialog", 1, 18));
    jLabelTitulo1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
    jLabelTitulo1.setText("Gerenciador de M\u00e1quinas de Estados:");
    jLabelTitulo1.setVerticalAlignment(javax.swing.SwingConstants.TOP);
    jLabelTitulo1.setPreferredSize(new java.awt.Dimension(460, 24));
    jLabelTitulo1.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
    jLabelTitulo1.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
    jPanel1.add(jLabelTitulo1);
    jLabelTitulo1.setBounds(10, 0, 350, 24);

    jLabelTitulo2.setFont(new java.awt.Font("Dialog", 0, 18));
    jLabelTitulo2.setForeground(new java.awt.Color(204, 0, 0));
    jLabelTitulo2.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
    jLabelTitulo2.setText("Desativado");
    jLabelTitulo2.setVerticalAlignment(javax.swing.SwingConstants.TOP);
    jLabelTitulo2.setPreferredSize(new java.awt.Dimension(460, 24));
    jLabelTitulo2.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
    jLabelTitulo2.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
    jPanel1.add(jLabelTitulo2);
    jLabelTitulo2.setBounds(350, 0, 100, 24);

    getContentPane().add(jPanel1, java.awt.BorderLayout.NORTH);

    jPanel2.setLayout(new java.awt.BorderLayout());

    jPanel2.setBorder(
        new javax.swing.border.TitledBorder("Gerenciador de M\u00e1quinas de Estado"));
    jPanel2.setAlignmentX(0.0F);
    jPanel2.setAlignmentY(0.0F);
    jPanel2.setPreferredSize(new java.awt.Dimension(460, 106));
    jPanel4.setLayout(new java.awt.GridBagLayout());

    jTextAreaPortaTCPNovaMaquina.setBackground(new java.awt.Color(204, 204, 204));
    jTextAreaPortaTCPNovaMaquina.setEditable(false);
    jTextAreaPortaTCPNovaMaquina.setFont(new java.awt.Font("Dialog", 0, 11));
    jTextAreaPortaTCPNovaMaquina.setLineWrap(true);
    jTextAreaPortaTCPNovaMaquina.setRows(2);
    jTextAreaPortaTCPNovaMaquina.setText("Porta TCP da novam\u00e1quina: ");
    jTextAreaPortaTCPNovaMaquina.setBorder(null);
    jTextAreaPortaTCPNovaMaquina.setPreferredSize(new java.awt.Dimension(90, 30));
    jTextAreaPortaTCPNovaMaquina.setAutoscrolls(false);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jPanel4.add(jTextAreaPortaTCPNovaMaquina, gridBagConstraints);

    jLabelIdDeConexao.setFont(new java.awt.Font("Dialog", 0, 11));
    jLabelIdDeConexao.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    jLabelIdDeConexao.setText("Id de Conex\u00e3o:");
    jLabelIdDeConexao.setPreferredSize(new java.awt.Dimension(130, 16));
    jLabelIdDeConexao.setHorizontalTextPosition(javax.swing.SwingConstants.LEFT);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jPanel4.add(jLabelIdDeConexao, gridBagConstraints);

    jTextFieldPortaTCPNovaMaquina.setColumns(3);
    jTextFieldPortaTCPNovaMaquina.setHorizontalAlignment(javax.swing.JTextField.LEFT);
    jTextFieldPortaTCPNovaMaquina.setBorder(new javax.swing.border.EtchedBorder());
    jTextFieldPortaTCPNovaMaquina.setMaximumSize(new java.awt.Dimension(33, 25));
    jTextFieldPortaTCPNovaMaquina.setPreferredSize(new java.awt.Dimension(33, 25));
    jTextFieldPortaTCPNovaMaquina.setAutoscrolls(false);
    jTextFieldPortaTCPNovaMaquina.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            jTextFieldPortaTCPNovaMaquinaActionPerformed(evt);
          }
        });

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jPanel4.add(jTextFieldPortaTCPNovaMaquina, gridBagConstraints);

    jTextFieldIdDeConexao.setColumns(3);
    jTextFieldIdDeConexao.setHorizontalAlignment(javax.swing.JTextField.LEFT);
    jTextFieldIdDeConexao.setBorder(new javax.swing.border.EtchedBorder());
    jTextFieldIdDeConexao.setPreferredSize(new java.awt.Dimension(33, 25));
    jTextFieldIdDeConexao.setAutoscrolls(false);
    jTextFieldIdDeConexao.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            jTextFieldIdDeConexaoActionPerformed(evt);
          }
        });

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jPanel4.add(jTextFieldIdDeConexao, gridBagConstraints);

    jPanel2.add(jPanel4, java.awt.BorderLayout.WEST);

    jPanel5.setLayout(new java.awt.BorderLayout());

    jPanel6.setLayout(new java.awt.GridBagLayout());

    jButtonCriarNovaMaquina.setFont(new java.awt.Font("Dialog", 0, 11));
    jButtonCriarNovaMaquina.setText("Criar Nova M\u00e1quina");
    jButtonCriarNovaMaquina.setBorder(
        new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.RAISED));
    jButtonCriarNovaMaquina.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
    jButtonCriarNovaMaquina.setPreferredSize(new java.awt.Dimension(128, 25));
    jButtonCriarNovaMaquina.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            jButtonCriarNovaMaquinaActionPerformed(evt);
          }
        });

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jPanel6.add(jButtonCriarNovaMaquina, gridBagConstraints);

    jButtonFecharMaquina.setFont(new java.awt.Font("Dialog", 0, 11));
    jButtonFecharMaquina.setText("Fechar M\u00e1quina");
    jButtonFecharMaquina.setBorder(
        new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.RAISED));
    jButtonFecharMaquina.setPreferredSize(new java.awt.Dimension(128, 25));
    jButtonFecharMaquina.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            jButtonFecharMaquinaActionPerformed(evt);
          }
        });

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jPanel6.add(jButtonFecharMaquina, gridBagConstraints);

    jPanel5.add(jPanel6, java.awt.BorderLayout.WEST);

    jPanel7.setLayout(new java.awt.GridLayout(3, 0, 5, 5));

    jButtonIniciarTCP.setFont(new java.awt.Font("Dialog", 0, 11));
    jButtonIniciarTCP.setText("Iniciar TCP");
    jButtonIniciarTCP.setBorder(
        new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.RAISED));
    jButtonIniciarTCP.setPreferredSize(new java.awt.Dimension(54, 25));
    jButtonIniciarTCP.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            jButtonIniciarTCPActionPerformed(evt);
          }
        });

    jPanel7.add(jButtonIniciarTCP);

    jButtonFechar.setFont(new java.awt.Font("Dialog", 0, 11));
    jButtonFechar.setText("Fechar");
    jButtonFechar.setBorder(
        new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.RAISED));
    jButtonFechar.setPreferredSize(new java.awt.Dimension(54, 25));
    jButtonFechar.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            jButtonFecharActionPerformed(evt);
          }
        });

    jPanel7.add(jButtonFechar);

    jButtonReset.setFont(new java.awt.Font("Dialog", 0, 11));
    jButtonReset.setText("Reset");
    jButtonReset.setBorder(
        new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.RAISED));
    jButtonReset.setPreferredSize(new java.awt.Dimension(54, 25));
    jButtonReset.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            jButtonResetActionPerformed(evt);
          }
        });

    jPanel7.add(jButtonReset);

    jPanel5.add(jPanel7, java.awt.BorderLayout.CENTER);

    jPanel2.add(jPanel5, java.awt.BorderLayout.CENTER);

    getContentPane().add(jPanel2, java.awt.BorderLayout.CENTER);

    jPanel3.setLayout(new java.awt.BorderLayout());

    jPanel3.setBorder(new javax.swing.border.TitledBorder("Tabela de Conex\u00f5es"));
    jPanel3.setPreferredSize(new java.awt.Dimension(460, 189));
    jTextAreaTabelaDeConexoes.setRows(10);
    jScrollPane1.setViewportView(jTextAreaTabelaDeConexoes);

    jPanel3.add(jScrollPane1, java.awt.BorderLayout.CENTER);

    getContentPane().add(jPanel3, java.awt.BorderLayout.SOUTH);

    pack();
  } // GEN-END:initComponents
  private void initComponents() { // GEN-BEGIN:initComponents
    java.awt.GridBagConstraints gridBagConstraints;

    jPanel1 = new javax.swing.JPanel();
    jPanel2 = new javax.swing.JPanel();
    jLabel1 = new javax.swing.JLabel();
    jLabel2 = new javax.swing.JLabel();
    jLabel3 = new javax.swing.JLabel();
    saName = new javax.swing.JTextField();
    saInt = new javax.swing.JTextField();
    jPanel3 = new javax.swing.JPanel();
    jLabel4 = new javax.swing.JLabel();
    jSeparator2 = new javax.swing.JSeparator();
    jSeparator1 = new javax.swing.JSeparator();
    jPanel4 = new javax.swing.JPanel();
    saYes = new javax.swing.JRadioButton();
    saNo = new javax.swing.JRadioButton();
    jPanel7 = new javax.swing.JPanel();
    jPanel8 = new javax.swing.JPanel();
    jPanel9 = new javax.swing.JPanel();
    helpButton = new javax.swing.JButton();
    jPanel10 = new javax.swing.JPanel();
    okButton = new javax.swing.JButton();
    cancelButton = new javax.swing.JButton();

    setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
    setTitle(AddAction.suppressAction);
    jPanel1.setLayout(new java.awt.BorderLayout());

    // jPanel1.setPreferredSize(new java.awt.Dimension(350, 160));
    jPanel2.setLayout(new java.awt.GridBagLayout());

    jLabel1.setFont(NmsClientUtil.getFont("DIALOG")); // No i18n
    jLabel1.setText(NmsClientUtil.GetString("javaui.filter.NotificationName"));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
    gridBagConstraints.insets = new java.awt.Insets(6, 11, 6, 6);
    jPanel2.add(jLabel1, gridBagConstraints);

    jLabel2.setFont(NmsClientUtil.getFont("DIALOG")); // No i18n
    jLabel2.setText(NmsClientUtil.GetString("javaui.filter.SuppressAll"));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
    gridBagConstraints.insets = new java.awt.Insets(2, 11, 1, 6);
    jPanel2.add(jLabel2, gridBagConstraints);

    jLabel3.setFont(NmsClientUtil.getFont("DIALOG")); // No i18n
    jLabel3.setText(NmsClientUtil.GetString("javaui.filter.SuppressInterval"));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
    gridBagConstraints.insets = new java.awt.Insets(6, 11, 1, 6);
    jPanel2.add(jLabel3, gridBagConstraints);

    saName.setFont(NmsClientUtil.getFont("DIALOG")); // No i18n
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
    gridBagConstraints.weightx = 0.1;
    gridBagConstraints.insets = new java.awt.Insets(6, 6, 6, 11);
    jPanel2.add(saName, gridBagConstraints);

    saInt.setFont(NmsClientUtil.getFont("DIALOG")); // No i18n
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
    gridBagConstraints.weightx = 0.1;
    gridBagConstraints.insets = new java.awt.Insets(6, 6, 1, 11);
    jPanel2.add(saInt, gridBagConstraints);

    jPanel3.setLayout(new java.awt.GridBagLayout());

    jLabel4.setFont(NmsClientUtil.getFont("DIALOG")); // No i18n
    jLabel4.setText(NmsClientUtil.GetString("javaui.filter.SuppressAction"));
    jPanel3.add(jLabel4, new java.awt.GridBagConstraints());

    jSeparator2.setPreferredSize(new java.awt.Dimension(300, 5));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weightx = 0.1;
    gridBagConstraints.insets = new java.awt.Insets(0, 5, 0, 0);
    jPanel3.add(jSeparator2, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
    gridBagConstraints.weightx = 0.1;
    gridBagConstraints.insets = new java.awt.Insets(15, 5, 5, 5);
    jPanel2.add(jPanel3, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
    gridBagConstraints.weightx = 0.1;
    gridBagConstraints.weighty = 0.1;
    gridBagConstraints.insets = new java.awt.Insets(10, 5, 0, 5);
    jPanel2.add(jSeparator1, gridBagConstraints);

    jPanel4.setLayout(new java.awt.GridLayout(1, 0));

    saYes.setFont(NmsClientUtil.getFont("DIALOG")); // No i18n
    saYes.setSelected(true);
    saInt.setEnabled(false);
    saYes.setText(NmsClientUtil.GetString("javaui.filter.Yes"));
    saYes.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            saYesActionPerformed(evt);
          }
        });

    jPanel4.add(saYes);

    saNo.setFont(NmsClientUtil.getFont("DIALOG")); // No i18n
    saNo.setText(NmsClientUtil.GetString("javaui.filter.No"));
    saNo.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            saNoActionPerformed(evt);
          }
        });

    jPanel4.add(saNo);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
    gridBagConstraints.weightx = 0.1;
    gridBagConstraints.insets = new java.awt.Insets(1, 11, 1, 16);
    jPanel2.add(jPanel4, gridBagConstraints);

    jPanel7.setLayout(new java.awt.BorderLayout());

    jPanel7.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(10, 10, 10, 10)));
    jPanel7.add(jPanel8, java.awt.BorderLayout.CENTER);

    jPanel9.setLayout(new java.awt.GridLayout(1, 0));

    helpButton.setFont(NmsClientUtil.getFont("DIALOG")); // No i18n
    helpButton.setText(NmsClientUtil.GetString("javaui.filter.Help"));
    helpButton.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            helpButtonActionPerformed(evt);
          }
        });
    jPanel9.add(helpButton);

    jPanel7.add(jPanel9, java.awt.BorderLayout.WEST);

    jPanel10.setLayout(new java.awt.GridLayout(1, 0, 5, 0));

    okButton.setFont(NmsClientUtil.getFont("DIALOG")); // No i18n
    okButton.setText(NmsClientUtil.GetString("javaui.filter.OK"));
    okButton.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            okButtonActionPerformed(evt);
          }
        });

    jPanel10.add(okButton);

    cancelButton.setFont(NmsClientUtil.getFont("DIALOG")); // No i18n
    cancelButton.setText(NmsClientUtil.GetString("javaui.filter.Cancel"));
    cancelButton.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            cancelButtonActionPerformed(evt);
          }
        });

    jPanel10.add(cancelButton);

    jPanel7.add(jPanel10, java.awt.BorderLayout.EAST);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 5;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
    gridBagConstraints.weightx = 0.1;
    jPanel2.add(jPanel7, gridBagConstraints);

    jPanel1.add(jPanel2, java.awt.BorderLayout.NORTH);

    getContentPane().add(jPanel1, java.awt.BorderLayout.CENTER);

    pack();
  } // GEN-END:initComponents
Пример #17
0
  private void initComponents() { // GEN-BEGIN:initComponents
    java.awt.GridBagConstraints gridBagConstraints;

    jPanel9 = new javax.swing.JPanel();
    jPanel1 = new javax.swing.JPanel();
    jLabel10 = new javax.swing.JLabel();
    jPanel11 = new javax.swing.JPanel();
    jPanel2 = new javax.swing.JPanel();
    jLabel1 = new javax.swing.JLabel();
    jLabel2 = new javax.swing.JLabel();
    jLabel3 = new javax.swing.JLabel();
    jLabel4 = new javax.swing.JLabel();
    jLabel5 = new javax.swing.JLabel();
    jLabel6 = new javax.swing.JLabel();
    messageTextField = new javax.swing.JTextField();
    categoryTextField = new javax.swing.JTextField();
    domainTextField = new javax.swing.JTextField();
    networkTextField = new javax.swing.JTextField();
    nodeTextField = new javax.swing.JTextField();
    entityTextField = new javax.swing.JTextField();
    jLabel7 = new javax.swing.JLabel();
    jLabel9 = new javax.swing.JLabel();
    jSeparator2 = new javax.swing.JSeparator();
    jPanel3 = new javax.swing.JPanel();
    jPanel5 = new javax.swing.JPanel();
    jSeparator1 = new javax.swing.JSeparator();
    jPanel4 = new javax.swing.JPanel();
    jPanel6 = new javax.swing.JPanel();
    jPanel7 = new javax.swing.JPanel();
    okButton = new javax.swing.JButton();
    cancelButton = new javax.swing.JButton();
    jPanel10 = new javax.swing.JPanel();
    moreButton = new javax.swing.JButton();

    setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
    setTitle("Match criteria Properties"); // No i18n
    setModal(true);
    jPanel9.setLayout(new java.awt.BorderLayout());

    jPanel1.setLayout(new java.awt.BorderLayout());

    jLabel10.setIcon(AddAction.getIcon("images/advancedframe_top.jpg")); // No i18n
    jPanel1.add(jLabel10, java.awt.BorderLayout.CENTER);

    jPanel9.add(jPanel1, java.awt.BorderLayout.NORTH);

    jPanel11.setLayout(new java.awt.BorderLayout());

    jPanel2.setLayout(new java.awt.GridBagLayout());

    jLabel1.setFont(NmsClientUtil.getFont("DIALOG")); // No i18n
    jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    jLabel1.setText(NmsClientUtil.GetString("javaui.filter.Message"));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(7, 7, 7, 7);
    jPanel2.add(jLabel1, gridBagConstraints);

    jLabel2.setFont(NmsClientUtil.getFont("DIALOG")); // No i18n
    jLabel2.setText(NmsClientUtil.GetString("javaui.filter.Category"));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(7, 7, 7, 7);
    jPanel2.add(jLabel2, gridBagConstraints);

    jLabel3.setFont(NmsClientUtil.getFont("DIALOG")); // No i18n
    jLabel3.setText(NmsClientUtil.GetString("javaui.filter.Domain"));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(7, 7, 7, 7);
    jPanel2.add(jLabel3, gridBagConstraints);

    jLabel4.setFont(NmsClientUtil.getFont("DIALOG")); // No i18n
    jLabel4.setText(NmsClientUtil.GetString("javaui.filter.Network"));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(7, 7, 7, 7);
    jPanel2.add(jLabel4, gridBagConstraints);

    jLabel5.setFont(NmsClientUtil.getFont("DIALOG")); // No i18n
    jLabel5.setText(NmsClientUtil.GetString("javaui.filter.Node"));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 5;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(7, 7, 7, 7);
    jPanel2.add(jLabel5, gridBagConstraints);

    jLabel6.setFont(NmsClientUtil.getFont("DIALOG")); // No i18n
    jLabel6.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    jLabel6.setText(NmsClientUtil.GetString("javaui.filter.Entity"));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 6;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(7, 7, 7, 7);
    jPanel2.add(jLabel6, gridBagConstraints);

    messageTextField.setFont(NmsClientUtil.getFont("DIALOG")); // No i18n
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
    gridBagConstraints.weightx = 0.1;
    gridBagConstraints.insets = new java.awt.Insets(7, 3, 7, 7);
    jPanel2.add(messageTextField, gridBagConstraints);

    categoryTextField.setFont(NmsClientUtil.getFont("DIALOG")); // No i18n
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
    gridBagConstraints.weightx = 0.1;
    gridBagConstraints.insets = new java.awt.Insets(7, 3, 7, 7);
    jPanel2.add(categoryTextField, gridBagConstraints);

    domainTextField.setFont(NmsClientUtil.getFont("DIALOG")); // No i18n
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
    gridBagConstraints.weightx = 0.1;
    gridBagConstraints.insets = new java.awt.Insets(7, 3, 7, 7);
    jPanel2.add(domainTextField, gridBagConstraints);

    networkTextField.setFont(NmsClientUtil.getFont("DIALOG")); // No i18n
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
    gridBagConstraints.weightx = 0.1;
    gridBagConstraints.insets = new java.awt.Insets(7, 3, 7, 7);
    jPanel2.add(networkTextField, gridBagConstraints);

    nodeTextField.setFont(NmsClientUtil.getFont("DIALOG")); // No i18n
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 5;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
    gridBagConstraints.weightx = 0.1;
    gridBagConstraints.insets = new java.awt.Insets(7, 3, 7, 7);
    jPanel2.add(nodeTextField, gridBagConstraints);

    entityTextField.setFont(NmsClientUtil.getFont("DIALOG")); // No i18n
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 6;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
    gridBagConstraints.weightx = 0.1;
    gridBagConstraints.insets = new java.awt.Insets(7, 3, 7, 7);
    jPanel2.add(entityTextField, gridBagConstraints);

    jLabel7.setFont(NmsClientUtil.getFont("DIALOG")); // No i18n
    jLabel7.setText(NmsClientUtil.GetString("javaui.filter.FilterCriteria"));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(7, 7, 7, 7);
    jPanel2.add(jLabel7, gridBagConstraints);

    jLabel9.setFont(NmsClientUtil.getFont("DIALOG")); // No i18n
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 9;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 0.1;
    gridBagConstraints.weighty = 0.1;
    jPanel2.add(jLabel9, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
    gridBagConstraints.weightx = 0.1;
    gridBagConstraints.insets = new java.awt.Insets(12, 3, 7, 7);
    jPanel2.add(jSeparator2, gridBagConstraints);

    jPanel11.add(jPanel2, java.awt.BorderLayout.CENTER);

    jPanel3.setLayout(new java.awt.BorderLayout());

    jPanel5.setLayout(new java.awt.BorderLayout());

    jPanel5.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(5, 5, 5, 5)));
    jPanel5.add(jSeparator1, java.awt.BorderLayout.CENTER);

    jPanel3.add(jPanel5, java.awt.BorderLayout.NORTH);

    jPanel4.setLayout(new java.awt.BorderLayout());

    jPanel4.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(5, 5, 5, 5)));
    jPanel4.add(jPanel6, java.awt.BorderLayout.CENTER);

    jPanel7.setLayout(new java.awt.GridLayout(1, 0, 6, 0));

    jPanel7.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(5, 5, 5, 5)));
    okButton.setFont(NmsClientUtil.getFont("DIALOG")); // No i18n
    okButton.setText(NmsClientUtil.GetString("javaui.filter.OK"));
    okButton.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            okButtonActionPerformed(evt);
          }
        });

    jPanel7.add(okButton);

    cancelButton.setFont(NmsClientUtil.getFont("DIALOG")); // No i18n
    cancelButton.setText(NmsClientUtil.GetString("javaui.filter.Cancel"));
    cancelButton.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            cancelButtonActionPerformed(evt);
          }
        });

    jPanel7.add(cancelButton);

    jPanel4.add(jPanel7, java.awt.BorderLayout.EAST);

    jPanel10.setLayout(new java.awt.GridLayout(1, 0, 5, 0));

    jPanel10.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(5, 5, 5, 5)));
    moreButton.setFont(NmsClientUtil.getFont("DIALOG")); // No i18n
    moreButton.setText(NmsClientUtil.GetString("javaui.filter.MoreProperties"));
    moreButton.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            moreButtonActionPerformed(evt);
          }
        });

    jPanel10.add(moreButton);

    jPanel4.add(jPanel10, java.awt.BorderLayout.WEST);

    jPanel3.add(jPanel4, java.awt.BorderLayout.CENTER);

    jPanel11.add(jPanel3, java.awt.BorderLayout.SOUTH);

    jPanel9.add(jPanel11, java.awt.BorderLayout.CENTER);

    getContentPane().add(jPanel9, java.awt.BorderLayout.NORTH);

    pack();
  } // GEN-END:initComponents
Пример #18
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.
   */
  private void initComponents() {
    java.awt.GridBagConstraints gridBagConstraints;

    decompilePanel = new JPanel();
    jScrollPane2 = new JScrollPane();
    sourcePane = new JTextPane();
    jMenuBar1 = new JMenuBar();
    jMenu2 = new JMenu();
    savaAsMenuItem = new JMenuItem();
    CtrlCMenuItem = new JMenuItem();

    setName("decompileFrame"); // NOI18N
    getContentPane().setLayout(new java.awt.GridBagLayout());

    decompilePanel.setLayout(new java.awt.GridBagLayout());

    sourcePane.setContentType("text/html");
    sourcePane.setEditable(false);
    sourcePane.setDisabledTextColor(new java.awt.Color(0, 0, 0));
    sourcePane.setEnabled(false);
    jScrollPane2.setViewportView(sourcePane);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    decompilePanel.add(jScrollPane2, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    getContentPane().add(decompilePanel, gridBagConstraints);

    jMenu2.setText("Edit");

    savaAsMenuItem.setText("Save as...");
    savaAsMenuItem.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            saveAsMenuItemActionPerformed(evt);
          }
        });
    jMenu2.add(savaAsMenuItem);

    CtrlCMenuItem.setText("Copy All to Clipboard");
    CtrlCMenuItem.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            CtrlCMenuItemActionPerformed(evt);
          }
        });
    jMenu2.add(CtrlCMenuItem);

    jMenuBar1.add(jMenu2);

    setJMenuBar(jMenuBar1);

    pack();
  }
Пример #19
0
  // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
  private void initComponents() {
    java.awt.GridBagConstraints gridBagConstraints;

    jLabel1 = new javax.swing.JLabel();
    projectLocation = new javax.swing.JTextField();
    sourceRootsPanel = new javax.swing.JPanel();
    jLabel2 = new javax.swing.JLabel();
    jScrollPane1 = new javax.swing.JScrollPane();
    sourceRoots = new ResizableRowHeightTable();
    addSourceRoot = new javax.swing.JButton();
    removeSourceRoot = new javax.swing.JButton();
    upSourceRoot = new javax.swing.JButton();
    downSourceRoot = new javax.swing.JButton();
    testRootsPanel = new javax.swing.JPanel();
    jLabel3 = new javax.swing.JLabel();
    jScrollPane2 = new javax.swing.JScrollPane();
    testRoots = new ResizableRowHeightTable();
    addTestRoot = new javax.swing.JButton();
    removeTestRoot = new javax.swing.JButton();
    upTestRoot = new javax.swing.JButton();
    downTestRoot = new javax.swing.JButton();
    jPanel1 = new javax.swing.JPanel();
    jLabel4 = new javax.swing.JLabel();
    sourceLevel = new javax.swing.JComboBox();
    includeExcludeButton = new javax.swing.JButton();
    jLabel5 = new javax.swing.JLabel();
    encoding = new javax.swing.JComboBox();
    jPanel2 = new javax.swing.JPanel();

    setLayout(new java.awt.GridBagLayout());

    jLabel1.setDisplayedMnemonic(
        java.util.ResourceBundle.getBundle(
                "org/netbeans/modules/java/j2seproject/ui/customizer/Bundle")
            .getString("MNE_ProjectFolder")
            .charAt(0));
    jLabel1.setLabelFor(projectLocation);
    java.util.ResourceBundle bundle =
        java.util.ResourceBundle.getBundle(
            "org/netbeans/modules/java/j2seproject/ui/customizer/Bundle"); // NOI18N
    jLabel1.setText(bundle.getString("CTL_ProjectFolder")); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 12);
    add(jLabel1, gridBagConstraints);

    projectLocation.setEditable(false);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    add(projectLocation, gridBagConstraints);
    projectLocation
        .getAccessibleContext()
        .setAccessibleDescription(
            bundle.getString("AD_CustomizerSources_projectLocation")); // NOI18N

    sourceRootsPanel.setLayout(new java.awt.GridBagLayout());

    jLabel2.setDisplayedMnemonic(
        java.util.ResourceBundle.getBundle(
                "org/netbeans/modules/java/j2seproject/ui/customizer/Bundle")
            .getString("MNE_SourceRoots")
            .charAt(0));
    jLabel2.setLabelFor(sourceRoots);
    jLabel2.setText(bundle.getString("CTL_SourceRoots")); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.insets = new java.awt.Insets(0, 0, 6, 0);
    sourceRootsPanel.add(jLabel2, gridBagConstraints);

    jScrollPane1.setPreferredSize(new java.awt.Dimension(450, 150));

    sourceRoots.setModel(
        new javax.swing.table.DefaultTableModel(
            new Object[][] {
              {null, null},
              {null, null},
              {null, null},
              {null, null}
            },
            new String[] {"Package Folder", "Label"}) {
          Class[] types = new Class[] {java.lang.Object.class, java.lang.String.class};
          boolean[] canEdit = new boolean[] {false, false};

          public Class getColumnClass(int columnIndex) {
            return types[columnIndex];
          }

          public boolean isCellEditable(int rowIndex, int columnIndex) {
            return canEdit[columnIndex];
          }
        });
    jScrollPane1.setViewportView(sourceRoots);
    sourceRoots
        .getAccessibleContext()
        .setAccessibleDescription(bundle.getString("AD_CustomizerSources_sourceRoots")); // NOI18N

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 12);
    sourceRootsPanel.add(jScrollPane1, gridBagConstraints);

    addSourceRoot.setMnemonic(
        java.util.ResourceBundle.getBundle(
                "org/netbeans/modules/java/j2seproject/ui/customizer/Bundle")
            .getString("MNE_AddSourceRoot")
            .charAt(0));
    addSourceRoot.setText(bundle.getString("CTL_AddSourceRoot")); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    sourceRootsPanel.add(addSourceRoot, gridBagConstraints);
    addSourceRoot
        .getAccessibleContext()
        .setAccessibleDescription(bundle.getString("AD_CustomizerSources_addSourceRoot")); // NOI18N

    removeSourceRoot.setMnemonic(
        java.util.ResourceBundle.getBundle(
                "org/netbeans/modules/java/j2seproject/ui/customizer/Bundle")
            .getString("MNE_RemoveSourceRoot")
            .charAt(0));
    removeSourceRoot.setText(bundle.getString("CTL_RemoveSourceRoot")); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(6, 0, 0, 0);
    sourceRootsPanel.add(removeSourceRoot, gridBagConstraints);
    removeSourceRoot
        .getAccessibleContext()
        .setAccessibleDescription(
            bundle.getString("AD_CustomizerSources_removeSourceRoot")); // NOI18N

    upSourceRoot.setMnemonic(
        java.util.ResourceBundle.getBundle(
                "org/netbeans/modules/java/j2seproject/ui/customizer/Bundle")
            .getString("MNE_UpSourceRoot")
            .charAt(0));
    upSourceRoot.setText(bundle.getString("CTL_UpSourceRoot")); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(12, 0, 0, 0);
    sourceRootsPanel.add(upSourceRoot, gridBagConstraints);
    upSourceRoot
        .getAccessibleContext()
        .setAccessibleDescription(bundle.getString("AD_CustomizerSources_upSourceRoot")); // NOI18N

    downSourceRoot.setMnemonic(
        java.util.ResourceBundle.getBundle(
                "org/netbeans/modules/java/j2seproject/ui/customizer/Bundle")
            .getString("MNE_DownSourceRoot")
            .charAt(0));
    downSourceRoot.setText(bundle.getString("CTL_DownSourceRoot")); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(6, 0, 0, 0);
    sourceRootsPanel.add(downSourceRoot, gridBagConstraints);
    downSourceRoot
        .getAccessibleContext()
        .setAccessibleDescription(
            bundle.getString("AD_CustomizerSources_downSourceRoot")); // NOI18N

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 0.45;
    gridBagConstraints.insets = new java.awt.Insets(12, 0, 0, 0);
    add(sourceRootsPanel, gridBagConstraints);

    testRootsPanel.setLayout(new java.awt.GridBagLayout());

    jLabel3.setDisplayedMnemonic(
        java.util.ResourceBundle.getBundle(
                "org/netbeans/modules/java/j2seproject/ui/customizer/Bundle")
            .getString("MNE_TestRoots")
            .charAt(0));
    jLabel3.setLabelFor(testRoots);
    jLabel3.setText(bundle.getString("CTL_TestRoots")); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(0, 0, 6, 0);
    testRootsPanel.add(jLabel3, gridBagConstraints);

    jScrollPane2.setPreferredSize(new java.awt.Dimension(450, 150));

    testRoots.setModel(
        new javax.swing.table.DefaultTableModel(
            new Object[][] {
              {null, null},
              {null, null},
              {null, null},
              {null, null}
            },
            new String[] {"Package Folder", "Label"}) {
          Class[] types = new Class[] {java.lang.Object.class, java.lang.String.class};
          boolean[] canEdit = new boolean[] {false, false};

          public Class getColumnClass(int columnIndex) {
            return types[columnIndex];
          }

          public boolean isCellEditable(int rowIndex, int columnIndex) {
            return canEdit[columnIndex];
          }
        });
    jScrollPane2.setViewportView(testRoots);
    testRoots
        .getAccessibleContext()
        .setAccessibleDescription(bundle.getString("AD_CustomizerSources_testRoots")); // NOI18N

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 0.5;
    testRootsPanel.add(jScrollPane2, gridBagConstraints);

    addTestRoot.setMnemonic(
        java.util.ResourceBundle.getBundle(
                "org/netbeans/modules/java/j2seproject/ui/customizer/Bundle")
            .getString("MNE_AddTestRoot")
            .charAt(0));
    addTestRoot.setText(bundle.getString("CTL_AddTestRoot")); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(0, 12, 6, 0);
    testRootsPanel.add(addTestRoot, gridBagConstraints);
    addTestRoot
        .getAccessibleContext()
        .setAccessibleDescription(bundle.getString("AD_CustomizerSources_addTestRoot")); // NOI18N

    removeTestRoot.setMnemonic(
        java.util.ResourceBundle.getBundle(
                "org/netbeans/modules/java/j2seproject/ui/customizer/Bundle")
            .getString("MNE_RemoveTestRoot")
            .charAt(0));
    removeTestRoot.setText(bundle.getString("CTL_RemoveTestRoot")); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(0, 12, 12, 0);
    testRootsPanel.add(removeTestRoot, gridBagConstraints);
    removeTestRoot
        .getAccessibleContext()
        .setAccessibleDescription(
            bundle.getString("AD_CustomizerSources_removeTestRoot")); // NOI18N

    upTestRoot.setMnemonic(
        java.util.ResourceBundle.getBundle(
                "org/netbeans/modules/java/j2seproject/ui/customizer/Bundle")
            .getString("MNE_UpTestRoot")
            .charAt(0));
    upTestRoot.setText(bundle.getString("CTL_UpTestRoot")); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(0, 12, 6, 0);
    testRootsPanel.add(upTestRoot, gridBagConstraints);
    upTestRoot
        .getAccessibleContext()
        .setAccessibleDescription(bundle.getString("AD_CustomizerSources_upTestRoot")); // NOI18N

    downTestRoot.setMnemonic(
        java.util.ResourceBundle.getBundle(
                "org/netbeans/modules/java/j2seproject/ui/customizer/Bundle")
            .getString("MNE_DownTestRoot")
            .charAt(0));
    downTestRoot.setText(bundle.getString("CTL_DownTestRoot")); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(0, 12, 0, 0);
    testRootsPanel.add(downTestRoot, gridBagConstraints);
    downTestRoot
        .getAccessibleContext()
        .setAccessibleDescription(bundle.getString("AD_CustomizerSources_downTestRoot")); // NOI18N

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 0.45;
    gridBagConstraints.insets = new java.awt.Insets(12, 0, 0, 0);
    add(testRootsPanel, gridBagConstraints);

    jPanel1.setLayout(new java.awt.GridBagLayout());

    jLabel4.setLabelFor(sourceLevel);
    org.openide.awt.Mnemonics.setLocalizedText(
        jLabel4, bundle.getString("TXT_SourceLevel")); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 12);
    jPanel1.add(jLabel4, gridBagConstraints);

    sourceLevel.setModel(new javax.swing.DefaultComboBoxModel(new String[] {"1.4", "1.5"}));
    sourceLevel.setMinimumSize(this.sourceLevel.getPreferredSize());
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.weightx = 1.0;
    jPanel1.add(sourceLevel, gridBagConstraints);
    sourceLevel
        .getAccessibleContext()
        .setAccessibleName(bundle.getString("AN_SourceLevel")); // NOI18N
    sourceLevel
        .getAccessibleContext()
        .setAccessibleDescription(bundle.getString("AD_SourceLevel")); // NOI18N

    org.openide.awt.Mnemonics.setLocalizedText(
        includeExcludeButton,
        org.openide.util.NbBundle.getMessage(
            CustomizerSources.class, "CustomizerSources.includeExcludeButton")); // NOI18N
    includeExcludeButton.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            includeExcludeButtonActionPerformed(evt);
          }
        });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
    jPanel1.add(includeExcludeButton, gridBagConstraints);
    includeExcludeButton
        .getAccessibleContext()
        .setAccessibleDescription(
            org.openide.util.NbBundle.getMessage(
                CustomizerSources.class, "AD_CustomizerSources_Include")); // NOI18N

    jLabel5.setLabelFor(encoding);
    org.openide.awt.Mnemonics.setLocalizedText(
        jLabel5,
        org.openide.util.NbBundle.getMessage(CustomizerSources.class, "TXT_Encoding")); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.insets = new java.awt.Insets(8, 0, 0, 12);
    jPanel1.add(jLabel5, gridBagConstraints);
    jLabel5
        .getAccessibleContext()
        .setAccessibleDescription(
            org.openide.util.NbBundle.getMessage(
                CustomizerSources.class, "AD_CustomizerSources_Encoding")); // NOI18N

    encoding.setModel(
        new javax.swing.DefaultComboBoxModel(
            new String[] {"Item 1", "Item 2", "Item 3", "Item 4"}));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.insets = new java.awt.Insets(8, 0, 0, 0);
    jPanel1.add(encoding, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    jPanel1.add(jPanel2, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(12, 0, 0, 0);
    add(jPanel1, gridBagConstraints);
  } // </editor-fold>//GEN-END:initComponents
Пример #20
0
  // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
  private void initComponents() {
    java.awt.GridBagConstraints gridBagConstraints;

    configSep = new javax.swing.JSeparator();
    configPanel = new javax.swing.JPanel();
    configLabel = new javax.swing.JLabel();
    configCombo = new javax.swing.JComboBox();
    configNew = new javax.swing.JButton();
    configDel = new javax.swing.JButton();
    mainPanel = new javax.swing.JPanel();
    jLabelMainClass = new javax.swing.JLabel();
    jTextFieldMainClass = new javax.swing.JTextField();
    jButtonMainClass = new javax.swing.JButton();
    jLabelArgs = new javax.swing.JLabel();
    jTextFieldArgs = new javax.swing.JTextField();
    jLabelWorkingDirectory = new javax.swing.JLabel();
    jTextWorkingDirectory = new javax.swing.JTextField();
    jButtonWorkingDirectoryBrowse = new javax.swing.JButton();
    jLabelVMOptions = new javax.swing.JLabel();
    jTextVMOptions = new javax.swing.JTextField();
    jLabelVMOptionsExample = new javax.swing.JLabel();
    customizeOptionsButton = new javax.swing.JButton();
    extPanel = new javax.swing.JPanel();

    setLayout(new java.awt.GridBagLayout());
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(6, 0, 6, 0);
    add(configSep, gridBagConstraints);

    configPanel.setLayout(new java.awt.GridBagLayout());

    configLabel.setLabelFor(configCombo);
    org.openide.awt.Mnemonics.setLocalizedText(
        configLabel,
        org.openide.util.NbBundle.getMessage(
            CustomizerRun.class, "CustomizerRun.configLabel")); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.insets = new java.awt.Insets(2, 0, 2, 0);
    configPanel.add(configLabel, gridBagConstraints);
    configLabel
        .getAccessibleContext()
        .setAccessibleDescription(
            org.openide.util.NbBundle.getMessage(
                CustomizerRun.class, "AD_CustomizerRun_Cfg")); // NOI18N

    configCombo.setModel(new javax.swing.DefaultComboBoxModel(new String[] {"<default>"}));
    configCombo.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            configComboActionPerformed(evt);
          }
        });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 6, 2, 0);
    configPanel.add(configCombo, gridBagConstraints);

    org.openide.awt.Mnemonics.setLocalizedText(
        configNew,
        org.openide.util.NbBundle.getMessage(
            CustomizerRun.class, "CustomizerRun.configNew")); // NOI18N
    configNew.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            configNewActionPerformed(evt);
          }
        });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.insets = new java.awt.Insets(2, 6, 2, 0);
    configPanel.add(configNew, gridBagConstraints);
    configNew
        .getAccessibleContext()
        .setAccessibleDescription(
            org.openide.util.NbBundle.getMessage(
                CustomizerRun.class, "AD_CustomizerRun_NewCfg")); // NOI18N

    org.openide.awt.Mnemonics.setLocalizedText(
        configDel,
        org.openide.util.NbBundle.getMessage(
            CustomizerRun.class, "CustomizerRun.configDelete")); // NOI18N
    configDel.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            configDelActionPerformed(evt);
          }
        });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.insets = new java.awt.Insets(2, 6, 2, 0);
    configPanel.add(configDel, gridBagConstraints);
    configDel
        .getAccessibleContext()
        .setAccessibleDescription(
            org.openide.util.NbBundle.getMessage(
                CustomizerRun.class, "AD_CustomizerRun_DeleteCfg")); // NOI18N

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(6, 0, 6, 0);
    add(configPanel, gridBagConstraints);

    mainPanel.setLayout(new java.awt.GridBagLayout());

    jLabelMainClass.setLabelFor(jTextFieldMainClass);
    org.openide.awt.Mnemonics.setLocalizedText(
        jLabelMainClass,
        org.openide.util.NbBundle.getMessage(
            CustomizerRun.class, "LBL_CustomizeRun_Run_MainClass_JLabel")); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
    mainPanel.add(jLabelMainClass, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(0, 12, 5, 0);
    mainPanel.add(jTextFieldMainClass, gridBagConstraints);
    jTextFieldMainClass
        .getAccessibleContext()
        .setAccessibleDescription(
            org.openide.util.NbBundle.getBundle(CustomizerRun.class)
                .getString("AD_jTextFieldMainClass")); // NOI18N

    org.openide.awt.Mnemonics.setLocalizedText(
        jButtonMainClass,
        org.openide.util.NbBundle.getMessage(
            CustomizerRun.class, "LBL_CustomizeRun_Run_MainClass_JButton")); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.insets = new java.awt.Insets(0, 6, 5, 0);
    mainPanel.add(jButtonMainClass, gridBagConstraints);
    jButtonMainClass
        .getAccessibleContext()
        .setAccessibleDescription(
            org.openide.util.NbBundle.getBundle(CustomizerRun.class)
                .getString("AD_jButtonMainClass")); // NOI18N

    jLabelArgs.setLabelFor(jTextFieldArgs);
    org.openide.awt.Mnemonics.setLocalizedText(
        jLabelArgs,
        org.openide.util.NbBundle.getMessage(
            CustomizerRun.class, "LBL_CustomizeRun_Run_Args_JLabel")); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.insets = new java.awt.Insets(0, 0, 12, 0);
    mainPanel.add(jLabelArgs, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(0, 12, 12, 0);
    mainPanel.add(jTextFieldArgs, gridBagConstraints);
    jTextFieldArgs
        .getAccessibleContext()
        .setAccessibleDescription(
            org.openide.util.NbBundle.getBundle(CustomizerRun.class)
                .getString("AD_jTextFieldArgs")); // NOI18N

    jLabelWorkingDirectory.setLabelFor(jTextWorkingDirectory);
    org.openide.awt.Mnemonics.setLocalizedText(
        jLabelWorkingDirectory,
        org.openide.util.NbBundle.getMessage(
            CustomizerRun.class, "LBL_CustomizeRun_Run_Working_Directory")); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridy = 2;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
    mainPanel.add(jLabelWorkingDirectory, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(0, 12, 5, 0);
    mainPanel.add(jTextWorkingDirectory, gridBagConstraints);
    java.util.ResourceBundle bundle =
        java.util.ResourceBundle.getBundle(
            "org/netbeans/modules/java/j2seproject/ui/customizer/Bundle"); // NOI18N
    jTextWorkingDirectory
        .getAccessibleContext()
        .setAccessibleDescription(
            bundle.getString("AD_CustomizeRun_Run_Working_Directory ")); // NOI18N

    org.openide.awt.Mnemonics.setLocalizedText(
        jButtonWorkingDirectoryBrowse,
        org.openide.util.NbBundle.getMessage(
            CustomizerRun.class, "LBL_CustomizeRun_Run_Working_Directory_Browse")); // NOI18N
    jButtonWorkingDirectoryBrowse.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            jButtonWorkingDirectoryBrowseActionPerformed(evt);
          }
        });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridy = 2;
    gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.insets = new java.awt.Insets(0, 6, 5, 0);
    mainPanel.add(jButtonWorkingDirectoryBrowse, gridBagConstraints);
    jButtonWorkingDirectoryBrowse
        .getAccessibleContext()
        .setAccessibleDescription(
            bundle.getString("AD_CustomizeRun_Run_Working_Directory_Browse")); // NOI18N

    jLabelVMOptions.setLabelFor(jTextVMOptions);
    org.openide.awt.Mnemonics.setLocalizedText(
        jLabelVMOptions,
        org.openide.util.NbBundle.getMessage(
            CustomizerRun.class, "LBL_CustomizeRun_Run_VM_Options")); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
    mainPanel.add(jLabelVMOptions, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(0, 12, 0, 0);
    mainPanel.add(jTextVMOptions, gridBagConstraints);
    jTextVMOptions
        .getAccessibleContext()
        .setAccessibleDescription(bundle.getString("AD_CustomizeRun_Run_VM_Options")); // NOI18N

    jLabelVMOptionsExample.setLabelFor(jTextFieldMainClass);
    org.openide.awt.Mnemonics.setLocalizedText(
        jLabelVMOptionsExample,
        org.openide.util.NbBundle.getMessage(
            CustomizerRun.class, "LBL_CustomizeRun_Run_VM_Options_Example")); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weighty = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(0, 12, 12, 0);
    mainPanel.add(jLabelVMOptionsExample, gridBagConstraints);
    jLabelVMOptionsExample
        .getAccessibleContext()
        .setAccessibleDescription(
            bundle.getString("LBL_CustomizeRun_Run_VM_Options_Example")); // NOI18N

    org.openide.awt.Mnemonics.setLocalizedText(
        customizeOptionsButton,
        org.openide.util.NbBundle.getMessage(
            CustomizerRun.class, "LBL_CustomizeRun_Run_VM_Options_JButton")); // NOI18N
    customizeOptionsButton.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            customizeVMOptionsByDialog(evt);
          }
        });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridy = 3;
    gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.gridheight = java.awt.GridBagConstraints.RELATIVE;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
    gridBagConstraints.insets = new java.awt.Insets(0, 6, 0, 0);
    mainPanel.add(customizeOptionsButton, gridBagConstraints);
    customizeOptionsButton
        .getAccessibleContext()
        .setAccessibleName(
            org.openide.util.NbBundle.getMessage(
                CustomizerRun.class, "AN_CustomizeRun_Run_VM_Options_JButton")); // NOI18N
    customizeOptionsButton
        .getAccessibleContext()
        .setAccessibleDescription(
            org.openide.util.NbBundle.getMessage(
                CustomizerRun.class, "AD_CustomizeRun_Run_VM_Options_Customize")); // NOI18N

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(6, 0, 6, 0);
    add(mainPanel, gridBagConstraints);

    extPanel.setLayout(new java.awt.GridBagLayout());
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 5;
    gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    add(extPanel, gridBagConstraints);
  } // </editor-fold>//GEN-END:initComponents
Пример #21
0
  /* WARNING: THIS METHOD WILL BE REGENERATED. */
  private javax.swing.JPanel getJDialogContentPane() {
    if (ivjJDialogContentPane == null) {
      try {
        ivjJDialogContentPane = new javax.swing.JPanel();
        ivjJDialogContentPane.setName("JDialogContentPane");
        ivjJDialogContentPane.setLayout(new java.awt.GridBagLayout());

        java.awt.GridBagConstraints constraintsManagerLabel = new java.awt.GridBagConstraints();
        constraintsManagerLabel.gridx = 0;
        constraintsManagerLabel.gridy = 2;
        constraintsManagerLabel.anchor = java.awt.GridBagConstraints.WEST;
        constraintsManagerLabel.insets = new java.awt.Insets(4, 4, 4, 4);
        getJDialogContentPane().add(getManagerLabel(), constraintsManagerLabel);

        java.awt.GridBagConstraints constraintsInstructionLabel = new java.awt.GridBagConstraints();
        constraintsInstructionLabel.gridx = 0;
        constraintsInstructionLabel.gridy = 0;
        constraintsInstructionLabel.gridwidth = 2;
        constraintsInstructionLabel.fill = java.awt.GridBagConstraints.HORIZONTAL;
        constraintsInstructionLabel.insets = new java.awt.Insets(4, 4, 4, 4);
        getJDialogContentPane().add(getInstructionLabel(), constraintsInstructionLabel);

        java.awt.GridBagConstraints constraintsHelpLabel = new java.awt.GridBagConstraints();
        constraintsHelpLabel.gridx = 0;
        constraintsHelpLabel.gridy = 1;
        constraintsHelpLabel.gridwidth = 2;
        constraintsHelpLabel.fill = java.awt.GridBagConstraints.HORIZONTAL;
        constraintsHelpLabel.insets = new java.awt.Insets(4, 4, 15, 4);
        getJDialogContentPane().add(getHelpLabel(), constraintsHelpLabel);

        java.awt.GridBagConstraints constraintsManagerField = new java.awt.GridBagConstraints();
        constraintsManagerField.gridx = 1;
        constraintsManagerField.gridy = 2;
        constraintsManagerField.fill = java.awt.GridBagConstraints.HORIZONTAL;
        constraintsManagerField.anchor = java.awt.GridBagConstraints.EAST;
        constraintsManagerField.weightx = 1.0;
        constraintsManagerField.insets = new java.awt.Insets(4, 4, 4, 4);
        getJDialogContentPane().add(getManagerField(), constraintsManagerField);

        java.awt.GridBagConstraints constraintsIRLabel = new java.awt.GridBagConstraints();
        constraintsIRLabel.gridx = 0;
        constraintsIRLabel.gridy = 3;
        constraintsIRLabel.anchor = java.awt.GridBagConstraints.WEST;
        constraintsIRLabel.insets = new java.awt.Insets(4, 4, 4, 4);
        getJDialogContentPane().add(getIRLabel(), constraintsIRLabel);

        java.awt.GridBagConstraints constraintsRepositoryField = new java.awt.GridBagConstraints();
        constraintsRepositoryField.gridx = 1;
        constraintsRepositoryField.gridy = 3;
        constraintsRepositoryField.fill = java.awt.GridBagConstraints.HORIZONTAL;
        constraintsRepositoryField.anchor = java.awt.GridBagConstraints.EAST;
        constraintsRepositoryField.weightx = 1.0;
        constraintsRepositoryField.insets = new java.awt.Insets(4, 4, 4, 4);
        getJDialogContentPane().add(getRepositoryField(), constraintsRepositoryField);

        java.awt.GridBagConstraints constraintsJPanel1 = new java.awt.GridBagConstraints();
        constraintsJPanel1.gridx = 0;
        constraintsJPanel1.gridy = 5;
        constraintsJPanel1.gridwidth = 2;
        constraintsJPanel1.fill = java.awt.GridBagConstraints.BOTH;
        constraintsJPanel1.weightx = 0.6;
        constraintsJPanel1.weighty = 1.0;
        constraintsJPanel1.insets = new java.awt.Insets(4, 4, 4, 4);
        getJDialogContentPane().add(getJPanel1(), constraintsJPanel1);

        java.awt.GridBagConstraints constraintsDebug = new java.awt.GridBagConstraints();
        constraintsDebug.gridx = 1;
        constraintsDebug.gridy = 4;
        constraintsDebug.anchor = java.awt.GridBagConstraints.WEST;
        constraintsDebug.insets = new java.awt.Insets(4, 4, 4, 4);
        getJDialogContentPane().add(getDebug(), constraintsDebug);
        // user code begin {1}
        // user code end
      } catch (java.lang.Throwable ivjExc) {
        // user code begin {2}
        // user code end
        handleException(ivjExc);
      }
    }
    return ivjJDialogContentPane;
  }
Пример #22
0
  // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
  private void initComponents() {
    java.awt.GridBagConstraints gridBagConstraints;

    jPanel1 = new javax.swing.JPanel();
    jSlider7 = new javax.swing.JSlider();
    jSlider13 = new javax.swing.JSlider();
    jSlider8 = new javax.swing.JSlider();
    horizontalTickedLabeledSlider = new javax.swing.JSlider();
    horizontalLabeledSlider = new javax.swing.JSlider();
    jSlider10 = new javax.swing.JSlider();
    jSlider15 = new javax.swing.JSlider();
    jSlider11 = new javax.swing.JSlider();
    verticalLabeledSlider = new javax.swing.JSlider();
    jSlider16 = new javax.swing.JSlider();
    smallSlider = new javax.swing.JSlider();
    smallTickedSlider = new javax.swing.JSlider();
    smallLabeledSlider = new javax.swing.JSlider();

    setBorder(javax.swing.BorderFactory.createEmptyBorder(16, 17, 17, 17));
    setLayout(new java.awt.GridBagLayout());

    jPanel1.setLayout(new java.awt.GridBagLayout());
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    jPanel1.add(jSlider7, gridBagConstraints);

    jSlider13.setEnabled(false);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    jPanel1.add(jSlider13, gridBagConstraints);

    jSlider8.setMajorTickSpacing(50);
    jSlider8.setMinorTickSpacing(10);
    jSlider8.setPaintTicks(true);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    jPanel1.add(jSlider8, gridBagConstraints);

    horizontalTickedLabeledSlider.setMajorTickSpacing(50);
    horizontalTickedLabeledSlider.setMinorTickSpacing(10);
    horizontalTickedLabeledSlider.setPaintLabels(true);
    horizontalTickedLabeledSlider.setPaintTicks(true);
    horizontalTickedLabeledSlider.setSnapToTicks(true);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
    jPanel1.add(horizontalTickedLabeledSlider, gridBagConstraints);

    horizontalLabeledSlider.setMajorTickSpacing(50);
    horizontalLabeledSlider.setMinorTickSpacing(10);
    horizontalLabeledSlider.setPaintLabels(true);
    horizontalLabeledSlider.setSnapToTicks(true);
    horizontalLabeledSlider.setEnabled(false);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
    jPanel1.add(horizontalLabeledSlider, gridBagConstraints);

    jSlider10.setOrientation(javax.swing.JSlider.VERTICAL);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridy = 0;
    gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER;
    jPanel1.add(jSlider10, gridBagConstraints);

    jSlider15.setOrientation(javax.swing.JSlider.VERTICAL);
    jSlider15.setEnabled(false);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridy = 0;
    gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER;
    jPanel1.add(jSlider15, gridBagConstraints);

    jSlider11.setMajorTickSpacing(50);
    jSlider11.setMinorTickSpacing(10);
    jSlider11.setOrientation(javax.swing.JSlider.VERTICAL);
    jSlider11.setPaintTicks(true);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridy = 0;
    gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER;
    jPanel1.add(jSlider11, gridBagConstraints);

    verticalLabeledSlider.setMajorTickSpacing(50);
    verticalLabeledSlider.setMinorTickSpacing(10);
    verticalLabeledSlider.setOrientation(javax.swing.JSlider.VERTICAL);
    verticalLabeledSlider.setPaintLabels(true);
    verticalLabeledSlider.setPaintTicks(true);
    verticalLabeledSlider.setSnapToTicks(true);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridy = 0;
    gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER;
    jPanel1.add(verticalLabeledSlider, gridBagConstraints);

    jSlider16.setMajorTickSpacing(50);
    jSlider16.setMinorTickSpacing(10);
    jSlider16.setOrientation(javax.swing.JSlider.VERTICAL);
    jSlider16.setPaintLabels(true);
    jSlider16.setPaintTicks(true);
    jSlider16.setSnapToTicks(true);
    jSlider16.setEnabled(false);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridy = 0;
    gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER;
    jPanel1.add(jSlider16, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    jPanel1.add(smallSlider, gridBagConstraints);

    smallTickedSlider.setMajorTickSpacing(50);
    smallTickedSlider.setMinorTickSpacing(10);
    smallTickedSlider.setPaintTicks(true);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    jPanel1.add(smallTickedSlider, gridBagConstraints);

    smallLabeledSlider.setMajorTickSpacing(50);
    smallLabeledSlider.setMinorTickSpacing(10);
    smallLabeledSlider.setPaintLabels(true);
    smallLabeledSlider.setSnapToTicks(true);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
    jPanel1.add(smallLabeledSlider, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    add(jPanel1, gridBagConstraints);
  } // </editor-fold>//GEN-END:initComponents