/** * 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>
/** * 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() { jLabel1 = new javax.swing.JLabel(); plateName = new javax.swing.JTextField(); jLabel2 = new javax.swing.JLabel(); barCode = new javax.swing.JTextField(); makePlate = new javax.swing.JButton(); plateCancel = new javax.swing.JButton(); jComboBoxAuthor = new javax.swing.JComboBox(); jComboBoxPlateType = new javax.swing.JComboBox(); jLabel3 = new javax.swing.JLabel(); jLabel4 = new javax.swing.JLabel(); jLabel5 = new javax.swing.JLabel(); location = new javax.swing.JTextField(); jLabel1.setText( org.openide.util.NbBundle.getMessage( PlateConfigPanel.class, "PlateConfigPanel.jLabel1.text")); // NOI18N plateName.setText( org.openide.util.NbBundle.getMessage( PlateConfigPanel.class, "PlateConfigPanel.plateName.text")); // NOI18N plateName.addActionListener( new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { plateNameActionPerformed(evt); } }); jLabel2.setText( org.openide.util.NbBundle.getMessage( PlateConfigPanel.class, "PlateConfigPanel.jLabel2.text")); // NOI18N barCode.setText( org.openide.util.NbBundle.getMessage( PlateConfigPanel.class, "PlateConfigPanel.barCode.text")); // NOI18N makePlate.setText( org.openide.util.NbBundle.getMessage( PlateConfigPanel.class, "PlateConfigPanel.makePlate.text")); // NOI18N makePlate.addActionListener( new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { makePlateActionPerformed(evt); } }); plateCancel.setText( org.openide.util.NbBundle.getMessage( PlateConfigPanel.class, "PlateConfigPanel.plateCancel.text")); // NOI18N plateCancel.addActionListener( new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { plateCancelActionPerformed(evt); } }); jLabel3.setText( org.openide.util.NbBundle.getMessage( PlateConfigPanel.class, "PlateConfigPanel.jLabel3.text")); // NOI18N jLabel4.setText( org.openide.util.NbBundle.getMessage( PlateConfigPanel.class, "PlateConfigPanel.jLabel4.text")); // NOI18N jLabel5.setText( org.openide.util.NbBundle.getMessage( PlateConfigPanel.class, "PlateConfigPanel.jLabel5.text")); // NOI18N location.setText( org.openide.util.NbBundle.getMessage( PlateConfigPanel.class, "PlateConfigPanel.location.text")); // NOI18N javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this); this.setLayout(layout); layout.setHorizontalGroup( layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup( layout .createSequentialGroup() .addGap(22, 22, 22) .addGroup( layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(makePlate) .addGroup( layout .createSequentialGroup() .addGroup( layout .createParallelGroup( javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel3) .addComponent(jLabel1) .addComponent(jLabel2) .addComponent(jLabel4) .addComponent(jLabel5)) .addGap(96, 96, 96) .addGroup( layout .createParallelGroup( javax.swing.GroupLayout.Alignment.LEADING) .addComponent( location, javax.swing.GroupLayout.DEFAULT_SIZE, 110, Short.MAX_VALUE) .addGroup( layout .createParallelGroup( javax.swing.GroupLayout.Alignment.TRAILING, false) .addComponent( jComboBoxPlateType, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent( jComboBoxAuthor, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent( barCode, javax.swing.GroupLayout.Alignment.LEADING) .addComponent( plateName, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 110, Short.MAX_VALUE) .addComponent( plateCancel, javax.swing.GroupLayout.Alignment .LEADING))))) .addGap(91, 91, 91))); layout.setVerticalGroup( layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup( layout .createSequentialGroup() .addGap(43, 43, 43) .addGroup( layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel1) .addComponent( plateName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(18, 18, 18) .addGroup( layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel2) .addComponent( barCode, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGroup( layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup( layout .createSequentialGroup() .addGap(20, 20, 20) .addComponent(jLabel5)) .addGroup( layout .createSequentialGroup() .addGap(18, 18, 18) .addComponent( location, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))) .addGap(23, 23, 23) .addGroup( layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel3) .addComponent( jComboBoxAuthor, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(26, 26, 26) .addGroup( layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel4) .addComponent( jComboBoxPlateType, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap( javax.swing.LayoutStyle.ComponentPlacement.RELATED, 44, Short.MAX_VALUE) .addGroup( layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(makePlate) .addComponent(plateCancel)) .addContainerGap())); } // </editor-fold>//GEN-END:initComponents
// <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