コード例 #1
0
  // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
  private void initComponents() {

    jPanel1 = new javax.swing.JPanel();
    jLabel2 = new javax.swing.JLabel();
    jScrollPane1 = new javax.swing.JScrollPane();
    jTable1 = new javax.swing.JTable();
    jProgressBar1 = new javax.swing.JProgressBar();

    // \$2java.awt.Color(255, 255, 255));
    setName("Form"); // NOI18N
    setLayout(new java.awt.BorderLayout());

    // $2java.awt.Color(255, 255, 255));
    java.util.ResourceBundle bundle = mpv5.i18n.LanguageManager.getBundle();
    jPanel1.setBorder(
        javax.swing.BorderFactory.createTitledBorder(
            bundle.getString("wizard_CSV_ProductGroups_Import_1.jPanel1.border.title"))); // NOI18N
    jPanel1.setName("jPanel1"); // NOI18N

    jLabel2.setText(bundle.getString("wizard_CSV_ProductGroups_Import_1.jLabel2.text")); // NOI18N
    jLabel2.setName("jLabel2"); // NOI18N

    jScrollPane1.setName("jScrollPane1"); // NOI18N

    jTable1.setAutoCreateRowSorter(true);
    jTable1.setBorder(javax.swing.BorderFactory.createEtchedBorder());
    jTable1.setModel(
        new javax.swing.table.DefaultTableModel(new Object[][] {{null}}, new String[] {"Title 1"}));
    jTable1.setCellSelectionEnabled(true);
    jTable1.setDoubleBuffered(true);
    jTable1.setFillsViewportHeight(true);
    jTable1.setName("jTable1"); // NOI18N
    jScrollPane1.setViewportView(jTable1);

    jProgressBar1.setName("jProgressBar1"); // NOI18N
    jProgressBar1.setStringPainted(true);

    javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
    jPanel1.setLayout(jPanel1Layout);
    jPanel1Layout.setHorizontalGroup(
        jPanel1Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                jPanel1Layout
                    .createSequentialGroup()
                    .addContainerGap()
                    .addComponent(
                        jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, 399, Short.MAX_VALUE)
                    .addContainerGap())
            .addComponent(jProgressBar1, javax.swing.GroupLayout.DEFAULT_SIZE, 423, Short.MAX_VALUE)
            .addGroup(
                jPanel1Layout
                    .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(
                        jScrollPane1,
                        javax.swing.GroupLayout.Alignment.TRAILING,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        423,
                        Short.MAX_VALUE)));
    jPanel1Layout.setVerticalGroup(
        jPanel1Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                jPanel1Layout
                    .createSequentialGroup()
                    .addComponent(jLabel2)
                    .addPreferredGap(
                        javax.swing.LayoutStyle.ComponentPlacement.RELATED, 342, Short.MAX_VALUE)
                    .addComponent(
                        jProgressBar1,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        javax.swing.GroupLayout.PREFERRED_SIZE))
            .addGroup(
                jPanel1Layout
                    .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(
                        jPanel1Layout
                            .createSequentialGroup()
                            .addGap(20, 20, 20)
                            .addComponent(
                                jScrollPane1,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                336,
                                Short.MAX_VALUE)
                            .addGap(21, 21, 21))));

    add(jPanel1, java.awt.BorderLayout.CENTER);
  } // </editor-fold>//GEN-END:initComponents
コード例 #2
0
  // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
  private void initComponents() {

    jPanel2 = new javax.swing.JPanel();
    jPanel3 = new javax.swing.JPanel();
    business = new mpv5.ui.beans.LabeledTextField();
    name = new mpv5.ui.beans.LabeledTextField();
    firstname = new mpv5.ui.beans.LabeledTextField();
    street = new mpv5.ui.beans.LabeledTextField();
    city = new mpv5.ui.beans.LabeledTextField();
    zip = new mpv5.ui.beans.LabeledTextField();
    country = new mpv5.ui.beans.LabeledTextField();
    phoneprefix = new mpv5.ui.beans.LabeledTextField();
    phone = new mpv5.ui.beans.LabeledTextField();
    email = new mpv5.ui.beans.LabeledTextField();
    fax = new mpv5.ui.beans.LabeledTextField();
    taxauthority = new mpv5.ui.beans.LabeledTextField();
    taxmandant = new mpv5.ui.beans.LabeledTextField();
    taxadvsior = new mpv5.ui.beans.LabeledTextField();
    taxadvjob = new mpv5.ui.beans.LabeledTextField();
    taxnumber = new mpv5.ui.beans.LabeledTextField();
    bankname = new mpv5.ui.beans.LabeledTextField();
    banknumber = new mpv5.ui.beans.LabeledTextField();
    account = new mpv5.ui.beans.LabeledTextField();
    account1 = new mpv5.ui.beans.LabeledTextField();
    jScrollPane1 = new javax.swing.JScrollPane();
    jTextArea1 = new javax.swing.JTextArea();
    jPanel1 = new javax.swing.JPanel();
    jButton2 = new javax.swing.JButton();
    jButton1 = new javax.swing.JButton();
    jButton3 = new javax.swing.JButton();

    // \$2java.awt.Color(255, 255, 255));
    setName("Form"); // NOI18N
    setLayout(new java.awt.BorderLayout());

    java.util.ResourceBundle bundle = mpv5.i18n.LanguageManager.getBundle(); // NOI18N
    jPanel2.setBorder(
        javax.swing.BorderFactory.createTitledBorder(
            bundle.getString("ControlPanel_Company.jPanel2.border.title"))); // NOI18N
    jPanel2.setName("jPanel2"); // NOI18N

    jPanel3.setName("jPanel3"); // NOI18N
    jPanel3.setLayout(new java.awt.GridLayout(10, 2, 5, 1));

    business.set_Label(bundle.getString("ControlPanel_Company.business._Label")); // NOI18N
    business.setName("business"); // NOI18N
    jPanel3.add(business);

    name.set_Label(bundle.getString("ControlPanel_Company.name._Label")); // NOI18N
    name.setName("name"); // NOI18N
    jPanel3.add(name);

    firstname.set_Label(bundle.getString("ControlPanel_Company.firstname._Label")); // NOI18N
    firstname.setName("firstname"); // NOI18N
    jPanel3.add(firstname);

    street.set_Label(bundle.getString("ControlPanel_Company.street._Label")); // NOI18N
    street.setName("street"); // NOI18N
    jPanel3.add(street);

    city.set_Label(bundle.getString("ControlPanel_Company.city._Label")); // NOI18N
    city.setName("city"); // NOI18N
    jPanel3.add(city);

    zip.set_Label(bundle.getString("ControlPanel_Company.zip._Label")); // NOI18N
    zip.setName("zip"); // NOI18N
    jPanel3.add(zip);

    country.set_Label(bundle.getString("ControlPanel_Company.country._Label")); // NOI18N
    country.setName("country"); // NOI18N
    jPanel3.add(country);

    phoneprefix.set_Label(bundle.getString("ControlPanel_Company.phoneprefix._Label")); // NOI18N
    phoneprefix.setName("phoneprefix"); // NOI18N
    jPanel3.add(phoneprefix);

    phone.set_Label(bundle.getString("ControlPanel_Company.phone._Label")); // NOI18N
    phone.setName("phone"); // NOI18N
    jPanel3.add(phone);

    email.set_Label(bundle.getString("ControlPanel_Company.email._Label")); // NOI18N
    email.setName("email"); // NOI18N
    jPanel3.add(email);

    fax.set_Label(bundle.getString("ControlPanel_Company.fax._Label")); // NOI18N
    fax.setName("fax"); // NOI18N
    jPanel3.add(fax);

    taxauthority.set_Label(bundle.getString("ControlPanel_Company.taxauthority._Label")); // NOI18N
    taxauthority.setName("taxauthority"); // NOI18N
    jPanel3.add(taxauthority);

    taxmandant.set_Label(bundle.getString("ControlPanel_Company.taxmandant._Label")); // NOI18N
    taxmandant.setName("taxmandant"); // NOI18N
    jPanel3.add(taxmandant);

    taxadvsior.set_Label(bundle.getString("ControlPanel_Company.taxadvsior._Label")); // NOI18N
    taxadvsior.setName("taxadvsior"); // NOI18N
    jPanel3.add(taxadvsior);

    taxadvjob.set_Label(bundle.getString("ControlPanel_Company.taxadvjob._Label")); // NOI18N
    taxadvjob.setName("taxadvjob"); // NOI18N
    jPanel3.add(taxadvjob);

    taxnumber.set_Label(bundle.getString("ControlPanel_Company.taxnumber._Label")); // NOI18N
    taxnumber.setName("taxnumber"); // NOI18N
    jPanel3.add(taxnumber);

    bankname.set_Label(bundle.getString("ControlPanel_Company.bankname._Label")); // NOI18N
    bankname.setName("bankname"); // NOI18N
    jPanel3.add(bankname);

    banknumber.set_Label(bundle.getString("ControlPanel_Company.banknumber._Label")); // NOI18N
    banknumber.setName("banknumber"); // NOI18N
    jPanel3.add(banknumber);

    account.set_Label(bundle.getString("ControlPanel_Company.account._Label")); // NOI18N
    account.setName("account"); // NOI18N
    jPanel3.add(account);

    account1.set_Label(bundle.getString("ControlPanel_Company.account1._Label")); // NOI18N
    account1.setName("account1"); // NOI18N
    jPanel3.add(account1);

    jScrollPane1.setHorizontalScrollBarPolicy(
        javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
    jScrollPane1.setVerticalScrollBarPolicy(
        javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER);
    jScrollPane1.setName("jScrollPane1"); // NOI18N

    // $2java.awt.Color(240, 240, 240));
    jTextArea1.setColumns(20);
    jTextArea1.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N
    jTextArea1.setLineWrap(true);
    jTextArea1.setRows(5);
    jTextArea1.setText(bundle.getString("ControlPanel_Company.jTextArea1.text")); // NOI18N
    jTextArea1.setWrapStyleWord(true);
    jTextArea1.setName("jTextArea1"); // NOI18N
    jTextArea1.setOpaque(false);
    jScrollPane1.setViewportView(jTextArea1);

    javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
    jPanel2.setLayout(jPanel2Layout);
    jPanel2Layout.setHorizontalGroup(
        jPanel2Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                jPanel2Layout
                    .createSequentialGroup()
                    .addGroup(
                        jPanel2Layout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(
                                jPanel3,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                614,
                                javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(
                                jScrollPane1,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                614,
                                javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addContainerGap(90, Short.MAX_VALUE)));
    jPanel2Layout.setVerticalGroup(
        jPanel2Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                jPanel2Layout
                    .createSequentialGroup()
                    .addComponent(
                        jScrollPane1,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        77,
                        javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(
                        jPanel3,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(51, Short.MAX_VALUE)));

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

    // $2java.awt.Color(255, 255, 255));
    jPanel1.setName("jPanel1"); // NOI18N
    jPanel1.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.RIGHT));

    // $2java.awt.Color(255, 153, 153));
    jButton2.setText(bundle.getString("ControlPanel_Company.jButton2.text")); // NOI18N
    jButton2.setName("jButton2"); // NOI18N
    jButton2.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            jButton2ActionPerformed(evt);
          }
        });
    jPanel1.add(jButton2);

    jButton1.setText(bundle.getString("ControlPanel_Company.jButton1.text")); // NOI18N
    jButton1.setName("jButton1"); // NOI18N
    jButton1.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            jButton1ActionPerformed(evt);
          }
        });
    jPanel1.add(jButton1);

    jButton3.setText(bundle.getString("ControlPanel_Company.jButton3.text")); // NOI18N
    jButton3.setName("jButton3"); // NOI18N
    jButton3.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            jButton3ActionPerformed(evt);
          }
        });
    jPanel1.add(jButton3);

    add(jPanel1, java.awt.BorderLayout.PAGE_END);
  } // </editor-fold>//GEN-END:initComponents
コード例 #3
0
  // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
  private void initComponents() {

    jPanel1 = new javax.swing.JPanel();
    jLabel1 = new javax.swing.JLabel();
    font = new javax.swing.JTextField();
    jLabel2 = new javax.swing.JLabel();
    jFontChooser1 = new com.l2fprod.common.swing.JFontChooser();
    jPanel6 = new javax.swing.JPanel();
    jButton2 = new javax.swing.JButton();
    jButton1 = new javax.swing.JButton();

    setBackground(new java.awt.Color(255, 255, 255));
    setName("Form"); // NOI18N
    setLayout(new java.awt.BorderLayout());

    jPanel1.setBackground(new java.awt.Color(255, 255, 255));
    java.util.ResourceBundle bundle = mpv5.i18n.LanguageManager.getBundle(); // NOI18N
    jPanel1.setBorder(
        javax.swing.BorderFactory.createTitledBorder(
            bundle.getString("ControlPanel_Fonts.jPanel1.border.title"))); // NOI18N
    jPanel1.setName("jPanel1"); // NOI18N

    jLabel1.setFont(new java.awt.Font("Tahoma", 1, 11));
    jLabel1.setText(bundle.getString("ControlPanel_Fonts.jLabel1.text")); // NOI18N
    jLabel1.setName("jLabel1"); // NOI18N

    font.setText(bundle.getString("ControlPanel_Fonts.font.text")); // NOI18N
    font.setName("font"); // NOI18N

    jLabel2.setText(bundle.getString("ControlPanel_Fonts.jLabel2.text")); // NOI18N
    jLabel2.setName("jLabel2"); // NOI18N

    jFontChooser1.setBorder(
        javax.swing.BorderFactory.createCompoundBorder(
            javax.swing.BorderFactory.createEtchedBorder(),
            javax.swing.BorderFactory.createEmptyBorder(2, 2, 2, 2)));
    jFontChooser1.setName("jFontChooser1"); // NOI18N
    jFontChooser1.addMouseListener(
        new java.awt.event.MouseAdapter() {
          public void mouseClicked(java.awt.event.MouseEvent evt) {
            jFontChooser1MouseClicked(evt);
          }
        });

    javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
    jPanel1.setLayout(jPanel1Layout);
    jPanel1Layout.setHorizontalGroup(
        jPanel1Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                jPanel1Layout
                    .createSequentialGroup()
                    .addContainerGap()
                    .addGroup(
                        jPanel1Layout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(jLabel1)
                            .addGroup(
                                jPanel1Layout
                                    .createSequentialGroup()
                                    .addComponent(jLabel2)
                                    .addGap(18, 18, 18)
                                    .addComponent(
                                        font,
                                        javax.swing.GroupLayout.PREFERRED_SIZE,
                                        219,
                                        javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(
                                jFontChooser1,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE))
                    .addContainerGap()));
    jPanel1Layout.setVerticalGroup(
        jPanel1Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                jPanel1Layout
                    .createSequentialGroup()
                    .addContainerGap()
                    .addComponent(jLabel1)
                    .addGap(12, 12, 12)
                    .addGroup(
                        jPanel1Layout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel2)
                            .addComponent(
                                font,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addComponent(
                        jFontChooser1,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(13, Short.MAX_VALUE)));

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

    jPanel6.setBackground(new java.awt.Color(255, 255, 255));
    jPanel6.setName("jPanel6"); // NOI18N
    jPanel6.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.RIGHT));

    jButton2.setText(bundle.getString("ControlPanel_Fonts.jButton2.text")); // NOI18N
    jButton2.setName("jButton2"); // NOI18N
    jButton2.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            jButton2ActionPerformed(evt);
          }
        });
    jPanel6.add(jButton2);

    jButton1.setText(bundle.getString("ControlPanel_Fonts.jButton1.text")); // NOI18N
    jButton1.setName("jButton1"); // NOI18N
    jButton1.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            jButton1ActionPerformed(evt);
          }
        });
    jPanel6.add(jButton1);

    add(jPanel6, java.awt.BorderLayout.PAGE_END);
  } // </editor-fold>//GEN-END:initComponents