// <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. */ @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; 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
/** * 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; CurrentPortrait = new javax.swing.JLabel(); RaceCheck = new javax.swing.JCheckBox(); SexCheck = new javax.swing.JCheckBox(); PortraitScrollPane = new javax.swing.JScrollPane(); PortraitsWindow = new javax.swing.JPanel(); OKButton = new javax.swing.JButton(); CancelButton = new javax.swing.JButton(); jPanel1 = new javax.swing.JPanel(); jPanel2 = new javax.swing.JPanel(); jPanel3 = new javax.swing.JPanel(); jPanel4 = new javax.swing.JPanel(); jPanel5 = new javax.swing.JPanel(); jPanel6 = new javax.swing.JPanel(); jPanel7 = new javax.swing.JPanel(); InfoText = new javax.swing.JTextField(); FirstButton = new javax.swing.JButton(); BackButton = new javax.swing.JButton(); ForwardButton = new javax.swing.JButton(); LastButton = new javax.swing.JButton(); jPanel8 = new javax.swing.JPanel(); jPanel9 = new javax.swing.JPanel(); getContentPane().setLayout(new java.awt.GridBagLayout()); setTitle("Portraits"); setName("PortFrame"); setResizable(false); addWindowListener( new java.awt.event.WindowAdapter() { public void windowClosing(java.awt.event.WindowEvent evt) { exitForm(evt); } }); CurrentPortrait.setIcon( new javax.swing.ImageIcon( getClass().getResource("/CharacterCreator/resource/portrait.jpg"))); CurrentPortrait.setVerticalAlignment(javax.swing.SwingConstants.TOP); CurrentPortrait.setMaximumSize(new java.awt.Dimension(128, 200)); CurrentPortrait.setMinimumSize(new java.awt.Dimension(128, 200)); CurrentPortrait.setPreferredSize(new java.awt.Dimension(128, 200)); CurrentPortrait.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 1; getContentPane().add(CurrentPortrait, gridBagConstraints); RaceCheck.setSelected(true); RaceCheck.setText("Lock To Race"); RaceCheck.addActionListener( new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { RaceCheckActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 4; getContentPane().add(RaceCheck, gridBagConstraints); SexCheck.setSelected(true); SexCheck.setText("Lock to Gender"); SexCheck.addActionListener( new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { SexCheckActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 3; getContentPane().add(SexCheck, gridBagConstraints); PortraitScrollPane.setHorizontalScrollBarPolicy( javax.swing.JScrollPane.HORIZONTAL_SCROLLBAR_NEVER); PortraitScrollPane.setVerticalScrollBarPolicy(javax.swing.JScrollPane.VERTICAL_SCROLLBAR_NEVER); PortraitScrollPane.setMinimumSize(new java.awt.Dimension(640, 500)); PortraitScrollPane.setPreferredSize(new java.awt.Dimension(658, 500)); PortraitScrollPane.setAutoscrolls(true); PortraitsWindow.setLayout(new java.awt.GridLayout(0, 10)); PortraitsWindow.setMaximumSize(new java.awt.Dimension(640, 500)); PortraitsWindow.setMinimumSize(new java.awt.Dimension(640, 500)); PortraitScrollPane.setViewportView(PortraitsWindow); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 3; gridBagConstraints.gridy = 1; gridBagConstraints.gridwidth = 6; gridBagConstraints.gridheight = 9; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; getContentPane().add(PortraitScrollPane, gridBagConstraints); OKButton.setText("OK"); OKButton.addActionListener( new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { OKButtonActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 10; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.anchor = java.awt.GridBagConstraints.SOUTH; getContentPane().add(OKButton, gridBagConstraints); CancelButton.setText("Cancel"); CancelButton.addActionListener( new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { CancelButtonActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 11; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; getContentPane().add(CancelButton, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 0; getContentPane().add(jPanel1, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 2; gridBagConstraints.gridy = 0; getContentPane().add(jPanel2, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 12; getContentPane().add(jPanel3, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 4; gridBagConstraints.gridy = 0; getContentPane().add(jPanel4, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 5; getContentPane().add(jPanel5, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 2; getContentPane().add(jPanel6, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 7; getContentPane().add(jPanel7, gridBagConstraints); InfoText.setBackground(new java.awt.Color(204, 204, 204)); InfoText.setFont(new java.awt.Font("Dialog", 0, 10)); InfoText.setForeground(new java.awt.Color(255, 0, 0)); InfoText.setHorizontalAlignment(javax.swing.JTextField.CENTER); InfoText.setBorder(null); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 9; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.anchor = java.awt.GridBagConstraints.SOUTH; getContentPane().add(InfoText, gridBagConstraints); FirstButton.setIcon( new javax.swing.ImageIcon(getClass().getResource("/CharacterCreator/resource/first.gif"))); FirstButton.addActionListener( new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { FirstButtonActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 4; gridBagConstraints.gridy = 11; getContentPane().add(FirstButton, gridBagConstraints); BackButton.setIcon( new javax.swing.ImageIcon(getClass().getResource("/CharacterCreator/resource/back.gif"))); BackButton.addActionListener( new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { BackButtonActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 5; gridBagConstraints.gridy = 11; getContentPane().add(BackButton, gridBagConstraints); ForwardButton.setIcon( new javax.swing.ImageIcon( getClass().getResource("/CharacterCreator/resource/forward.gif"))); ForwardButton.addActionListener( new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { ForwardButtonActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 7; gridBagConstraints.gridy = 11; gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST; getContentPane().add(ForwardButton, gridBagConstraints); LastButton.setIcon( new javax.swing.ImageIcon(getClass().getResource("/CharacterCreator/resource/last.gif"))); LastButton.addActionListener( new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { LastButtonActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 8; gridBagConstraints.gridy = 11; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; getContentPane().add(LastButton, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 3; gridBagConstraints.gridy = 11; gridBagConstraints.ipadx = 4; gridBagConstraints.insets = new java.awt.Insets(0, 85, 0, 85); getContentPane().add(jPanel8, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 6; gridBagConstraints.gridy = 11; gridBagConstraints.insets = new java.awt.Insets(0, 25, 0, 25); getContentPane().add(jPanel9, gridBagConstraints); pack(); } // GEN-END:initComponents
// <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
// <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
/** * 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; RaceButtonContainer = new javax.swing.JScrollPane(); RaceButtonBak = new javax.swing.JPanel(); RaceButtonList = new javax.swing.JPanel(); RecommendedButton = new javax.swing.JButton(); OKButton = new javax.swing.JButton(); CancelButton = new javax.swing.JButton(); DescriptionContainer = new javax.swing.JScrollPane(); DescriptionText = new javax.swing.JTextArea(); PadPanel = new javax.swing.JPanel(); PadPanel2 = new javax.swing.JPanel(); PadPanel3 = new javax.swing.JPanel(); PadPanel4 = new javax.swing.JPanel(); jPanel16 = new javax.swing.JPanel(); jPanel17 = new javax.swing.JPanel(); getContentPane().setLayout(new java.awt.GridBagLayout()); setTitle("Choose a Race for your character."); addWindowListener( new java.awt.event.WindowAdapter() { public void windowClosing(java.awt.event.WindowEvent evt) { exitForm(evt); } }); RaceButtonContainer.setHorizontalScrollBarPolicy( javax.swing.JScrollPane.HORIZONTAL_SCROLLBAR_NEVER); RaceButtonContainer.setVerticalScrollBarPolicy( javax.swing.JScrollPane .VERTICAL_SCROLLBAR_ALWAYS); // was that weird green color on the menus RaceButtonContainer.setViewportBorder( new javax.swing.border.MatteBorder( new java.awt.Insets(10, 10, 10, 10), new java.awt.Color(0, 0, 0))); RaceButtonContainer.setMaximumSize(new java.awt.Dimension(32767, 300)); RaceButtonContainer.setPreferredSize(new java.awt.Dimension(283, 300)); RaceButtonContainer.setAutoscrolls(true); RaceButtonContainer.getVerticalScrollBar().setUnitIncrement(52); RaceButtonContainer.getVerticalScrollBar().setBlockIncrement(52); RaceButtonBak.setLayout(new java.awt.GridBagLayout()); RaceButtonBak.setBackground(new java.awt.Color(0, 0, 0)); RaceButtonBak.setForeground(new java.awt.Color(255, 255, 255)); // color not seen RaceButtonBak.setAlignmentX(0.0F); RaceButtonBak.setAlignmentY(0.0F); RaceButtonBak.setAutoscrolls(true); RaceButtonList.setLayout(new java.awt.GridLayout(0, 1)); RaceButtonList.setBackground(new java.awt.Color(0, 0, 0)); // outline behind buttons RaceButtonList.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(3, 3, 3, 3))); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 1; gridBagConstraints.gridwidth = 2; gridBagConstraints.gridheight = 2; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; RaceButtonBak.add(RaceButtonList, gridBagConstraints); RaceButtonContainer.setViewportView(RaceButtonBak); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 1; gridBagConstraints.gridheight = 6; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; getContentPane().add(RaceButtonContainer, gridBagConstraints); RecommendedButton.setText("Recommended"); RecommendedButton.addActionListener( new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { RecommendedButtonActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 8; getContentPane().add(RecommendedButton, gridBagConstraints); OKButton.setText("OK"); OKButton.addActionListener( new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { OKButtonActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 3; gridBagConstraints.gridy = 8; getContentPane().add(OKButton, gridBagConstraints); CancelButton.setText("Cancel"); CancelButton.addActionListener( new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { CancelButtonActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 4; gridBagConstraints.gridy = 8; getContentPane().add(CancelButton, gridBagConstraints); DescriptionContainer.setHorizontalScrollBarPolicy( javax.swing.JScrollPane.HORIZONTAL_SCROLLBAR_NEVER); DescriptionContainer.setVerticalScrollBarPolicy( javax.swing.JScrollPane.VERTICAL_SCROLLBAR_ALWAYS); // behind text description DescriptionContainer.setViewportBorder( new javax.swing.border.MatteBorder( new java.awt.Insets(10, 10, 10, 10), new java.awt.Color(0, 0, 0))); DescriptionContainer.setPreferredSize(new java.awt.Dimension(400, 300)); DescriptionText.setBackground(new java.awt.Color(0, 0, 0)); DescriptionText.setForeground(new java.awt.Color(240, 216, 130)); // text for description DescriptionText.setLineWrap(true); DescriptionText.setWrapStyleWord(true); DescriptionText.setPreferredSize(new java.awt.Dimension(400, 800)); DescriptionText.setAutoscrolls(false); DescriptionContainer.setViewportView(DescriptionText); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 3; gridBagConstraints.gridy = 1; gridBagConstraints.gridwidth = 2; gridBagConstraints.gridheight = 6; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; getContentPane().add(DescriptionContainer, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 9; gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; getContentPane().add(PadPanel, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 0; gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; getContentPane().add(PadPanel2, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 0; gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; getContentPane().add(PadPanel3, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 5; gridBagConstraints.gridy = 0; gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; getContentPane().add(PadPanel4, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 2; gridBagConstraints.gridy = 0; gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; getContentPane().add(jPanel16, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 7; gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; getContentPane().add(jPanel17, gridBagConstraints); pack(); } // GEN-END:initComponents
// <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